You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v1/accounting/index.html
+21-1Lines changed: 21 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1984,6 +1984,11 @@
1984
1984
"description" : "Xero identifier",
1985
1985
"format" : "uuid"
1986
1986
},
1987
+
"MergedToContactID" : {
1988
+
"type" : "string",
1989
+
"description" : "ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber.",
1990
+
"format" : "uuid"
1991
+
},
1987
1992
"ContactNumber" : {
1988
1993
"maxLength" : 50,
1989
1994
"type" : "string",
@@ -2014,6 +2019,11 @@
2014
2019
"type" : "string",
2015
2020
"description" : "Last name of contact person (max length = 255)"
2016
2021
},
2022
+
"CompanyNumber" : {
2023
+
"maxLength" : 50,
2024
+
"type" : "string",
2025
+
"description" : "Company registration number (max length = 50)"
2026
+
},
2017
2027
"EmailAddress" : {
2018
2028
"maxLength" : 255,
2019
2029
"type" : "string",
@@ -2069,6 +2079,16 @@
2069
2079
"type" : "boolean",
2070
2080
"description" : "true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact."
2071
2081
},
2082
+
"SalesDefaultLineAmountType" : {
2083
+
"type" : "string",
2084
+
"description" : "The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.",
2085
+
"enum" : [ "INCLUSIVE", "EXCLUSIVE", "NONE" ]
2086
+
},
2087
+
"PurchasesDefaultLineAmountType" : {
2088
+
"type" : "string",
2089
+
"description" : "The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber.",
**merged_to_contact_id** | **str** | ID for the destination of a merged contact. Only returned when using paging or when fetching a contact by ContactId or ContactNumber. | [optional]
7
8
**contact_number** | **str** | This can be updated via the API only i.e. This field is read only on the Xero contact screen, used to identify contacts in external systems (max length = 50). If the Contact Number is used, this is displayed as Contact Code in the Contacts UI in Xero. | [optional]
8
9
**account_number** | **str** | A user defined account number. This can be updated via the API and the Xero UI (max length = 50) | [optional]
9
10
**contact_status** | **str** | Current status of a contact – see contact status types | [optional]
10
11
**name** | **str** | Full name of contact/organisation (max length = 255) | [optional]
11
12
**first_name** | **str** | First name of contact person (max length = 255) | [optional]
12
13
**last_name** | **str** | Last name of contact person (max length = 255) | [optional]
14
+
**company_number** | **str** | Company registration number (max length = 50) | [optional]
13
15
**email_address** | **str** | Email address of contact person (umlauts not supported) (max length = 255) | [optional]
14
16
**skype_user_name** | **str** | Skype user name of contact | [optional]
15
17
**contact_persons** | [**list[ContactPerson]**](ContactPerson.md) | See contact persons | [optional]
@@ -21,6 +23,8 @@ Name | Type | Description | Notes
21
23
**phones** | [**list[Phone]**](Phone.md) | Store certain phone types for a contact – see phone types | [optional]
22
24
**is_supplier** | **bool** | true or false – Boolean that describes if a contact that has any AP invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts payable invoice is generated against this contact. | [optional]
23
25
**is_customer** | **bool** | true or false – Boolean that describes if a contact has any AR invoices entered against them. Cannot be set via PUT or POST – it is automatically set when an accounts receivable invoice is generated against this contact. | [optional]
26
+
**sales_default_line_amount_type** | **str** | The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. | [optional]
27
+
**purchases_default_line_amount_type** | **str** | The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. | [optional]
"""Gets the sales_default_line_amount_type of this Contact. # noqa: E501
816
+
817
+
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. # noqa: E501
818
+
819
+
:return: The sales_default_line_amount_type of this Contact. # noqa: E501
"""Sets the sales_default_line_amount_type of this Contact.
827
+
828
+
The default sales line amount type for a contact. Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. # noqa: E501
829
+
830
+
:param sales_default_line_amount_type: The sales_default_line_amount_type of this Contact. # noqa: E501
"""Gets the purchases_default_line_amount_type of this Contact. # noqa: E501
848
+
849
+
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. # noqa: E501
850
+
851
+
:return: The purchases_default_line_amount_type of this Contact. # noqa: E501
"""Sets the purchases_default_line_amount_type of this Contact.
859
+
860
+
The default purchases line amount type for a contact Only available when summaryOnly parameter or paging is used, or when fetch by ContactId or ContactNumber. # noqa: E501
861
+
862
+
:param purchases_default_line_amount_type: The purchases_default_line_amount_type of this Contact. # noqa: E501
0 commit comments