createAccount
-Creates a new chart of accounts
--
/Accounts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Accounting
+createAccount
+Creates a new chart of accounts
++
/Accounts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -6650,71 +13055,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createAccount: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| account * | -
-
-
-
-
-
- Account
-
-
-
- Account object in body of request
-
-
- Required
-
- |
-
createAccountAttachmentByFileName
-Creates an attachment on a specific account
--
/Accounts/{AccountID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createAccountAttachmentByFileName
+Creates an attachment on a specific account
++
/Accounts/{AccountID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -6783,127 +13191,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createAccountAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createBankTransactionAttachmentByFileName
-Creates an attachment for a specific bank transaction by filename
--
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBankTransactionAttachmentByFileName
+Creates an attachment for a specific bank transaction by filename
++
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -6972,127 +13386,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransactionAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createBankTransactionHistoryRecord
-Creates a history record for a specific bank transactions
--
/BankTransactions/{BankTransactionID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBankTransactionHistoryRecord
+Creates a history record for a specific bank transactions
++
/BankTransactions/{BankTransactionID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -7162,104 +13582,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransactionHistoryRecord: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
+
|
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createBankTransactions
-Creates one or more spent or received money transaction
--
/BankTransactions
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBankTransactions
+Creates one or more spent or received money transaction
++
/BankTransactions
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -7347,71 +13771,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransactions: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| bankTransactions * | -
-
-
-
-
-
- BankTransactions
-
-
-
- BankTransactions with an array of BankTransaction objects in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
createBankTransfer
-Creates a bank transfer
--
/BankTransfers
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
createBankTransfer
+Creates a bank transfer
++
/BankTransfers
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -7535,71 +13966,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransfer: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| bankTransfers * | -
-
-
-
-
-
- BankTransfers
-
-
-
- BankTransfers with array of BankTransfer objects in request body
-
-
- Required
-
- |
-
createBankTransferAttachmentByFileName
- --
/BankTransfers/{BankTransferID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBankTransferAttachmentByFileName
+ ++
/BankTransfers/{BankTransferID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -7668,127 +14103,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransferAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransferID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transfer
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createBankTransferHistoryRecord
-Creates a history record for a specific bank transfer
--
/BankTransfers/{BankTransferID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBankTransferHistoryRecord
+Creates a history record for a specific bank transfer
++
/BankTransfers/{BankTransferID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -7858,104 +14298,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBankTransferHistoryRecord: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransferID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transfer
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createBatchPayment
-Creates one or many batch payments for invoices
--
/BatchPayments
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBatchPayment
+Creates one or many batch payments for invoices
++
/BatchPayments
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8047,71 +14491,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBatchPayment: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| batchPayments * | -
-
-
-
-
-
- BatchPayments
-
-
-
- BatchPayments with an array of Payments in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createBatchPaymentHistoryRecord
-Creates a history record for a specific batch payment
--
/BatchPayments/{BatchPaymentID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createBatchPaymentHistoryRecord
+Creates a history record for a specific batch payment
++
/BatchPayments/{BatchPaymentID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8208,104 +14657,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBatchPaymentHistoryRecord: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BatchPaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for BatchPayment
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createBrandingThemePaymentServices
-Creates a new custom payment service for a specific branding theme
--
/BrandingThemes/{BrandingThemeID}/PaymentServices
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createBrandingThemePaymentServices
+Creates a new custom payment service for a specific branding theme
++
/BrandingThemes/{BrandingThemeID}/PaymentServices
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8375,104 +14829,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createBrandingThemePaymentServices: %s\n" % e)
- Scopes
-| paymentservices | -Grant read-write access to payment services | -
Parameters
-| Name | -Description | -
|---|---|
| BrandingThemeID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Branding Theme
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| paymentService * | -
-
-
-
-
-
- PaymentService
-
-
-
- PaymentService object in body of request
-
-
- Required
-
- |
-
createContactAttachmentByFileName
- --
/Contacts/{ContactID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createContactAttachmentByFileName
+ ++
/Contacts/{ContactID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8541,127 +14999,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createContactAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| ContactID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createContactGroup
-Creates a contact group
--
/ContactGroups
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createContactGroup
+Creates a contact group
++
/ContactGroups
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8730,71 +15193,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createContactGroup: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| contactGroups * | -
-
-
-
-
-
- ContactGroups
-
-
-
- ContactGroups with an array of names in request body
-
-
- Required
-
- |
-
createContactGroupContacts
-Creates contacts to a specific contact group
--
/ContactGroups/{ContactGroupID}/Contacts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createContactGroupContacts
+Creates contacts to a specific contact group
++
/ContactGroups/{ContactGroupID}/Contacts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -8864,104 +15330,107 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createContactGroupContacts: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| ContactGroupID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact Group
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| contacts * | -
-
-
-
-
-
- Contacts
-
-
-
- Contacts with array of contacts specifying the ContactID to be added to ContactGroup in body of request
-
-
- Required
-
- |
-
createContactHistory
-Creates a new history record for a specific contact
--
/Contacts/{ContactID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createContactHistory
+Creates a new history record for a specific contact
++
/Contacts/{ContactID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9031,104 +15502,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createContactHistory: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| ContactID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createContacts
-Creates multiple contacts (bulk) in a Xero organisation
--
/Contacts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createContacts
+Creates multiple contacts (bulk) in a Xero organisation
++
/Contacts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9207,71 +15682,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createContacts: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| contacts * | -
-
-
-
-
-
- Contacts
-
-
-
- Contacts with an array of Contact objects to create in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createCreditNoteAllocation
-Creates allocation for a specific credit note
--
/CreditNotes/{CreditNoteID}/Allocations
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createCreditNoteAllocation
+Creates allocation for a specific credit note
++
/CreditNotes/{CreditNoteID}/Allocations
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9375,104 +15855,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createCreditNoteAllocation: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| CreditNoteID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Credit Note
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| allocations * | -
-
-
-
-
-
- Allocations
-
-
-
- Allocations with array of Allocation object in body of request.
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createCreditNoteAttachmentByFileName
-Creates an attachment for a specific credit note
--
/CreditNotes/{CreditNoteID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createCreditNoteAttachmentByFileName
+Creates an attachment for a specific credit note
++
/CreditNotes/{CreditNoteID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9569,127 +16056,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createCreditNoteAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| CreditNoteID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Credit Note
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| IncludeOnline | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-Allows an attachment to be seen by the end customer within their online invoice
-
- |
-
-
createCreditNoteHistory
-Retrieves history records of a specific credit note
--
/CreditNotes/{CreditNoteID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ IncludeOnline
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ Allows an attachment to be seen by the end customer within their online invoice
+
+
+
+
+
+
+
+
+
+ +
createCreditNoteHistory
+Retrieves history records of a specific credit note
++
/CreditNotes/{CreditNoteID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9783,107 +16276,109 @@ Usage and SDK Samples
try:
api_response = api_instance.create_credit_note_history(xero_tenant_id, credit_note_id, historyRecords)
- print(api_response)
- except AccountingBadRequestException as e:
- print("Exception when calling AccountingApi->createCreditNoteHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| CreditNoteID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Credit Note
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
+ print(api_response)
+ except AccountingBadRequestException as e:
+ print("Exception when calling AccountingApi->createCreditNoteHistory: %s\n" % e)
+
|
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createCreditNotes
-Creates a new credit note
--
/CreditNotes
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createCreditNotes
+Creates a new credit note
++
/CreditNotes
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -9969,71 +16466,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createCreditNotes: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| creditNotes * | -
-
-
-
-
-
- CreditNotes
-
-
-
- Credit Notes with array of CreditNote object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
createCurrency
-Create a new currency for a Xero organisation
--
/Currencies
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
createCurrency
+Create a new currency for a Xero organisation
++
/Currencies
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10147,71 +16651,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createCurrency: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| currency * | -
-
-
-
-
-
- Currency
-
-
-
- Currency object in the body of request
-
-
- Required
-
- |
-
createEmployees
-Creates new employees used in Xero payrun
--
/Employees
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createEmployees
+Creates new employees used in Xero payrun
++
/Employees
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10282,71 +16789,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createEmployees: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| employees * | -
-
-
-
-
-
- Employees
-
-
-
- Employees with array of Employee object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createExpenseClaimHistory
-Creates a history record for a specific expense claim
--
/ExpenseClaims/{ExpenseClaimID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createExpenseClaimHistory
+Creates a history record for a specific expense claim
++
/ExpenseClaims/{ExpenseClaimID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10443,104 +16955,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createExpenseClaimHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| ExpenseClaimID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a ExpenseClaim
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createExpenseClaims
-Creates expense claims
--
/ExpenseClaims
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createExpenseClaims
+Creates expense claims
++
/ExpenseClaims
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10622,71 +17138,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createExpenseClaims: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| expenseClaims * | -
-
-
-
-
-
- ExpenseClaims
-
-
-
- ExpenseClaims with array of ExpenseClaim object in body of request
-
-
- Required
-
- |
-
createInvoiceAttachmentByFileName
-Creates an attachment for a specific invoice or purchase bill by filename
--
/Invoices/{InvoiceID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createInvoiceAttachmentByFileName
+Creates an attachment for a specific invoice or purchase bill by filename
++
/Invoices/{InvoiceID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10756,127 +17275,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createInvoiceAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| InvoiceID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Invoice
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| IncludeOnline | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-Allows an attachment to be seen by the end customer within their online invoice
-
- |
-
-
createInvoiceHistory
-Creates a history record for a specific invoice
--
/Invoices/{InvoiceID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ IncludeOnline
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ Allows an attachment to be seen by the end customer within their online invoice
+
+
+
+
+
+
+
+
+
+ +
createInvoiceHistory
+Creates a history record for a specific invoice
++
/Invoices/{InvoiceID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -10973,104 +17498,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createInvoiceHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| InvoiceID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Invoice
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createInvoices
-Creates one or more sales invoices or purchase bills
--
/Invoices
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createInvoices
+Creates one or more sales invoices or purchase bills
++
/Invoices
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -11168,71 +17697,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createInvoices: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| invoices * | -
-
-
-
-
-
- Invoices
-
-
-
- Invoices with an array of invoice objects in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
createItemHistory
-Creates a history record for a specific item
--
/Items/{ItemID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
createItemHistory
+Creates a history record for a specific item
++
/Items/{ItemID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -11349,104 +17885,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createItemHistory: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| ItemID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Item
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createItems
-Creates one or more items
--
/Items
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createItems
+Creates one or more items
++
/Items
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -11523,71 +18062,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createItems: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| items * | -
-
-
-
-
-
- Items
-
-
-
- Items with an array of Item objects in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
createLinkedTransaction
-Creates linked transactions (billable expenses)
--
/LinkedTransactions
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
createLinkedTransaction
+Creates linked transactions (billable expenses)
++
/LinkedTransactions
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -11701,71 +18247,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createLinkedTransaction: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| linkedTransaction * | -
-
-
-
-
-
- LinkedTransaction
-
-
-
- LinkedTransaction object in body of request
-
-
- Required
-
- |
-
createManualJournalAttachmentByFileName
-Creates a specific attachment for a specific manual journal by file name
--
/ManualJournals/{ManualJournalID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createManualJournalAttachmentByFileName
+Creates a specific attachment for a specific manual journal by file name
++
/ManualJournals/{ManualJournalID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -11834,127 +18384,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createManualJournalAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| ManualJournalID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a ManualJournal
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createManualJournalHistoryRecord
-Creates a history record for a specific manual journal
--
/ManualJournals/{ManualJournalID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createManualJournalHistoryRecord
+Creates a history record for a specific manual journal
++
/ManualJournals/{ManualJournalID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12024,104 +18579,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createManualJournalHistoryRecord: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| ManualJournalID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a ManualJournal
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createManualJournals
-Creates one or more manual journals
--
/ManualJournals
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createManualJournals
+Creates one or more manual journals
++
/ManualJournals
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12208,71 +18767,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createManualJournals: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| manualJournals * | -
-
-
-
-
-
- ManualJournals
-
-
-
- ManualJournals array with ManualJournal object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createOverpaymentAllocations
-Creates a single allocation for a specific overpayment
--
/Overpayments/{OverpaymentID}/Allocations
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createOverpaymentAllocations
+Creates a single allocation for a specific overpayment
++
/Overpayments/{OverpaymentID}/Allocations
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12373,107 +18937,109 @@ Usage and SDK Samples
try:
api_response = api_instance.create_overpayment_allocations(xero_tenant_id, overpayment_id, allocations, summarize_errors)
- print(api_response)
- except AccountingBadRequestException as e:
- print("Exception when calling AccountingApi->createOverpaymentAllocations: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| OverpaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Overpayment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
+ print(api_response)
+ except AccountingBadRequestException as e:
+ print("Exception when calling AccountingApi->createOverpaymentAllocations: %s\n" % e)
+
|
-
| Name | -Description | -
|---|---|
| allocations * | -
-
-
-
-
-
- Allocations
-
-
-
- Allocations array with Allocation object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createOverpaymentHistory
-Creates a history record for a specific overpayment
--
/Overpayments/{OverpaymentID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createOverpaymentHistory
+Creates a history record for a specific overpayment
++
/Overpayments/{OverpaymentID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12570,104 +19140,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createOverpaymentHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| OverpaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Overpayment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createPayment
-Creates a single payment for invoice or credit notes
--
/Payments
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPayment
+Creates a single payment for invoice or credit notes
++
/Payments
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12746,71 +19319,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPayment: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| payment * | -
-
-
-
-
-
- Payment
-
-
-
- Request body with a single Payment object
-
-
- Required
-
- |
-
createPaymentHistory
-Creates a history record for a specific payment
--
/Payments/{PaymentID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPaymentHistory
+Creates a history record for a specific payment
++
/Payments/{PaymentID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -12880,104 +19456,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPaymentHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| PaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Payment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createPaymentService
-Creates a payment service
--
/PaymentServices
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPaymentService
+Creates a payment service
++
/PaymentServices
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13048,71 +19628,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPaymentService: %s\n" % e)
- Scopes
-| paymentservices | -Grant read-write access to payment services | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| paymentServices * | -
-
-
-
-
-
- PaymentServices
-
-
-
- PaymentServices array with PaymentService object in body of request
-
-
- Required
-
- |
-
createPayments
-Creates multiple payments for invoices or credit notes
--
/Payments
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPayments
+Creates multiple payments for invoices or credit notes
++
/Payments
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13192,71 +19775,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPayments: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| payments * | -
-
-
-
-
-
- Payments
-
-
-
- Payments array with Payment object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createPrepaymentAllocations
-Allows you to create an Allocation for prepayments
--
/Prepayments/{PrepaymentID}/Allocations
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createPrepaymentAllocations
+Allows you to create an Allocation for prepayments
++
/Prepayments/{PrepaymentID}/Allocations
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13360,104 +19948,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPrepaymentAllocations: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| PrepaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a PrePayment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| allocations * | -
-
-
-
-
-
- Allocations
-
-
-
- Allocations with an array of Allocation object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createPrepaymentHistory
-Creates a history record for a specific prepayment
--
/Prepayments/{PrepaymentID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createPrepaymentHistory
+Creates a history record for a specific prepayment
++
/Prepayments/{PrepaymentID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13554,104 +20148,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPrepaymentHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| PrepaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a PrePayment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createPurchaseOrderAttachmentByFileName
-Creates attachment for a specific purchase order
--
/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPurchaseOrderAttachmentByFileName
+Creates attachment for a specific purchase order
++
/PurchaseOrders/{PurchaseOrderID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13720,127 +20319,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPurchaseOrderAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| PurchaseOrderID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Purchase Order
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createPurchaseOrderHistory
-Creates a history record for a specific purchase orders
--
/PurchaseOrders/{PurchaseOrderID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPurchaseOrderHistory
+Creates a history record for a specific purchase orders
++
/PurchaseOrders/{PurchaseOrderID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -13910,104 +20514,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPurchaseOrderHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| PurchaseOrderID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Purchase Order
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createPurchaseOrders
-Creates one or more purchase orders
--
/PurchaseOrders
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createPurchaseOrders
+Creates one or more purchase orders
++
/PurchaseOrders
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14092,71 +20700,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createPurchaseOrders: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| purchaseOrders * | -
-
-
-
-
-
- PurchaseOrders
-
-
-
- PurchaseOrders with an array of PurchaseOrder object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createQuoteAttachmentByFileName
-Creates attachment for a specific quote
--
/Quotes/{QuoteID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createQuoteAttachmentByFileName
+Creates attachment for a specific quote
++
/Quotes/{QuoteID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14252,127 +20865,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createQuoteAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| QuoteID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Quote
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createQuoteHistory
-Creates a history record for a specific quote
--
/Quotes/{QuoteID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createQuoteHistory
+Creates a history record for a specific quote
++
/Quotes/{QuoteID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14442,104 +21060,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createQuoteHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| QuoteID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Quote
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createQuotes
-Create one or more quotes
--
/Quotes
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createQuotes
+Create one or more quotes
++
/Quotes
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14624,71 +21245,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createQuotes: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| quotes * | -
-
-
-
-
-
- Quotes
-
-
-
- Quotes with an array of Quote object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| summarizeErrors | -
-
-
-
-
-
-
-
-
- Boolean
-
-
-
-
-If false return 200 OK and mix of successfully created objects and any with validation errors
-
- |
-
-
createReceipt
-Creates draft expense claim receipts for any user
--
/Receipts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ summarizeErrors
+
+
+
+
+
+
+
+ Boolean
+
+
+
+ If false return 200 OK and mix of successfully created objects and any with validation
+ errors
+
+
+
+
+
+
+
+
+
+ +
createReceipt
+Creates draft expense claim receipts for any user
++
/Receipts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14803,71 +21428,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createReceipt: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| receipts * | -
-
-
-
-
-
- Receipts
-
-
-
- Receipts with an array of Receipt object in body of request
-
-
- Required
-
- |
| Name | -Description | -
|---|---|
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
createReceiptAttachmentByFileName
-Creates an attachment on a specific expense claim receipts by file name
--
/Receipts/{ReceiptID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
createReceiptAttachmentByFileName
+Creates an attachment on a specific expense claim receipts by file name
++
/Receipts/{ReceiptID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -14962,128 +21592,131 @@ Usage and SDK Samples
api_response = api_instance.create_receipt_attachment_by_file_name(xero_tenant_id, receipt_id, file_name, body)
print(api_response)
except AccountingBadRequestException as e:
- print("Exception when calling AccountingApi->createReceiptAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| ReceiptID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Receipt
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createReceiptHistory
-Creates a history record for a specific receipt
--
/Receipts/{ReceiptID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createReceiptHistory
+Creates a history record for a specific receipt
++
/Receipts/{ReceiptID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15153,104 +21788,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createReceiptHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| ReceiptID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Receipt
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createRepeatingInvoiceAttachmentByFileName
-Creates an attachment from a specific repeating invoices by file name
--
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createRepeatingInvoiceAttachmentByFileName
+Creates an attachment from a specific repeating invoices by file name
++
/RepeatingInvoices/{RepeatingInvoiceID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15319,127 +21960,130 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createRepeatingInvoiceAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments | -Grant read-write access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| RepeatingInvoiceID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Repeating Invoice
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| body * | -
-
-
-
-
-
- byte[]
-
-
-
- Byte array of file in body of request
-
-
- Required
-
- |
-
createRepeatingInvoiceHistory
-Creates a history record for a specific repeating invoice
--
/RepeatingInvoices/{RepeatingInvoiceID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createRepeatingInvoiceHistory
+Creates a history record for a specific repeating invoice
++
/RepeatingInvoices/{RepeatingInvoiceID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15509,104 +22155,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createRepeatingInvoiceHistory: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| RepeatingInvoiceID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Repeating Invoice
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| historyRecords * | -
-
-
-
-
-
- HistoryRecords
-
-
-
- HistoryRecords containing an array of HistoryRecord objects in body of request
-
-
- Required
-
- |
-
createTaxRates
-Creates one or more tax rates
--
/TaxRates
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createTaxRates
+Creates one or more tax rates
++
/TaxRates
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15683,71 +22333,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createTaxRates: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| taxRates * | -
-
-
-
-
-
- TaxRates
-
-
-
- TaxRates array with TaxRate object in body of request
-
-
- Required
-
- |
-
createTrackingCategory
-Create tracking categories
--
/TrackingCategories
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createTrackingCategory
+Create tracking categories
++
/TrackingCategories
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15813,71 +22466,72 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createTrackingCategory: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| trackingCategory * | -
-
-
-
-
-
- TrackingCategory
-
-
-
- TrackingCategory object in body of request
-
-
- Required
-
- |
-
createTrackingOptions
-Creates options for a specific tracking category
--
/TrackingCategories/{TrackingCategoryID}/Options
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
createTrackingOptions
+Creates options for a specific tracking category
++
/TrackingCategories/{TrackingCategoryID}/Options
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -15944,104 +22600,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->createTrackingOptions: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| TrackingCategoryID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a TrackingCategory
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| trackingOption * | -
-
-
-
-
-
- TrackingOption
-
-
-
- TrackingOption object in body of request
-
-
- Required
-
- |
-
deleteAccount
-Deletes a chart of accounts
--
/Accounts/{AccountID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
deleteAccount
+Deletes a chart of accounts
++
/Accounts/{AccountID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16105,108 +22764,112 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteAccount: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deleteContactGroupContact
-Deletes a specific contact from a contact group using a unique contact Id
--
/ContactGroups/{ContactGroupID}/Contacts/{ContactID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ AccountID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Account object
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deleteContactGroupContact
+Deletes a specific contact from a contact group using a unique contact Id
++
/ContactGroups/{ContactGroupID}/Contacts/{ContactID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16229,134 +22892,139 @@ Usage and SDK Samples
api_instance.delete_contact_group_contact(xero_tenant_id, contact_group_id, contact_id)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteContactGroupContact: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| ContactGroupID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact Group
-
-
- Required
-
- |
-
| ContactID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deleteContactGroupContacts
-Deletes all contacts from a specific contact group
--
/ContactGroups/{ContactGroupID}/Contacts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.contacts
+ Grant read-write access to contacts and contact groups
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ ContactGroupID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a Contact Group
+
+
+
+ Required
+
+
+
+
+
+
+
+ ContactID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a Contact
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deleteContactGroupContacts
+Deletes all contacts from a specific contact group
++
/ContactGroups/{ContactGroupID}/Contacts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16378,108 +23046,111 @@ Usage and SDK Samples
api_instance.delete_contact_group_contacts(xero_tenant_id, contact_group_id)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteContactGroupContacts: %s\n" % e)
- Scopes
-| accounting.contacts | -Grant read-write access to contacts and contact groups | -
Parameters
-| Name | -Description | -
|---|---|
| ContactGroupID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Contact Group
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deleteItem
-Deletes a specific item
--
/Items/{ItemID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.contacts
+ Grant read-write access to contacts and contact groups
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ ContactGroupID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a Contact Group
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deleteItem
+Deletes a specific item
++
/Items/{ItemID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16501,108 +23172,112 @@ Usage and SDK Samples
api_instance.delete_item(xero_tenant_id, item_id)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteItem: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| ItemID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Item
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deleteLinkedTransaction
-Deletes a specific linked transactions (billable expenses)
--
/LinkedTransactions/{LinkedTransactionID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ ItemID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for an Item
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deleteLinkedTransaction
+Deletes a specific linked transactions (billable expenses)
++
/LinkedTransactions/{LinkedTransactionID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16624,108 +23299,111 @@ Usage and SDK Samples
api_instance.delete_linked_transaction(xero_tenant_id, linked_transaction_id)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteLinkedTransaction: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| LinkedTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a LinkedTransaction
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deletePayment
-Updates a specific payment for invoices and credit notes
--
/Payments/{PaymentID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.transactions
+ Grant read-write access to bank transactions, credit notes, invoices, repeating invoices
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ LinkedTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a LinkedTransaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deletePayment
+Updates a specific payment for invoices and credit notes
++
/Payments/{PaymentID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16751,104 +23429,106 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deletePayment: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| PaymentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Payment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| paymentDelete * | -
-
-
-
-
-
- PaymentDelete
-
-
-
-
-
-
- Required
-
- |
-
deleteTrackingCategory
-Deletes a specific tracking category
--
/TrackingCategories/{TrackingCategoryID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
deleteTrackingCategory
+Deletes a specific tracking category
++
/TrackingCategories/{TrackingCategoryID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -16911,108 +23593,112 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteTrackingCategory: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| TrackingCategoryID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a TrackingCategory
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
deleteTrackingOptions
-Deletes a specific option for a specific tracking category
--
/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ TrackingCategoryID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a TrackingCategory
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
deleteTrackingOptions
+Deletes a specific option for a specific tracking category
++
/TrackingCategories/{TrackingCategoryID}/Options/{TrackingOptionID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17036,134 +23722,138 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->deleteTrackingOptions: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| TrackingCategoryID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a TrackingCategory
-
-
- Required
-
- |
-
| TrackingOptionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for a Tracking Option
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
emailInvoice
-Sends a copy of a specific invoice to related contact via email
--
/Invoices/{InvoiceID}/Email
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ TrackingCategoryID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a TrackingCategory
+
+
+
+ Required
+
+
+
+
+
+
+
+ TrackingOptionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for a Tracking Option
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
emailInvoice
+Sends a copy of a specific invoice to related contact via email
++
/Invoices/{InvoiceID}/Email
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17187,104 +23877,106 @@ Usage and SDK Samples
api_instance.email_invoice(xero_tenant_id, invoice_id, requestEmpty)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->emailInvoice: %s\n" % e)
- Scopes
-| accounting.transactions | -Grant read-write access to bank transactions, credit notes, invoices, repeating invoices | -
Parameters
-| Name | -Description | -
|---|---|
| InvoiceID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for an Invoice
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| requestEmpty * | -
-
-
-
-
-
- RequestEmpty
-
-
-
-
-
-
- Required
-
- |
-
getAccount
-Retrieves a single chart of accounts by using a unique account Id
--
/Accounts/{AccountID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+
+
+ +
getAccount
+Retrieves a single chart of accounts by using a unique account Id
++
/Accounts/{AccountID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17347,108 +24040,112 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getAccount: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
getAccountAttachmentByFileName
-Retrieves an attachment for a specific account by filename
--
/Accounts/{AccountID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ AccountID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Account object
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getAccountAttachmentByFileName
+Retrieves an attachment for a specific account by filename
++
/Accounts/{AccountID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17461,166 +24158,172 @@ Usage and SDK Samples
api_client.set_oauth2_token("YOUR_ACCESS_TOKEN")
-def accounting_get_account_attachment_by_file_name():
- api_instance = AccountingApi(api_client)
- xero_tenant_id = 'YOUR_XERO_TENANT_ID'
- account_id = '00000000-0000-0000-0000-000000000000'
- file_name = 'xero-dev.jpg'
- content_type = 'image/jpg'
-
- try:
- api_response = api_instance.get_account_attachment_by_file_name(xero_tenant_id, account_id, file_name, content_type)
- print(api_response)
- except AccountingBadRequestException as e:
- print("Exception when calling AccountingApi->getAccountAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| contentType* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
-
-
- Required
-
- |
-
-
getAccountAttachmentById
-Retrieves a specific attachment from a specific account using a unique attachment Id
+def accounting_get_account_attachment_by_file_name(): + api_instance = AccountingApi(api_client) + xero_tenant_id = 'YOUR_XERO_TENANT_ID' + account_id = '00000000-0000-0000-0000-000000000000' + file_name = 'xero-dev.jpg' + content_type = 'image/jpg' + + try: + api_response = api_instance.get_account_attachment_by_file_name(xero_tenant_id, account_id, file_name, content_type) + print(api_response) + except AccountingBadRequestException as e: + print("Exception when calling AccountingApi->getAccountAttachmentByFileName: %s\n" % e)-
/Accounts/{AccountID}/Attachments/{AttachmentID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+| accounting.attachments.read | +Grant read-only access to attachments | +
Parameters
+| Name | +Description | +
|---|---|
| AccountID* | +
+
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+
+ Unique identifier for Account object
+
+
+ Required
+
+ |
+
| FileName* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Name of the attachment
+
+
+ Required
+
+ |
+
| Name | +Description | +
|---|---|
| xero-tenant-id* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ Xero identifier for Tenant
+
+
+ Required
+
+ |
+
| contentType* | +
+
+
+
+
+
+
+
+
+ String
+
+
+
+
+ The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
+
+
+ Required
+
+ |
+
+
getAccountAttachmentById
+Retrieves a specific attachment from a specific account using a unique attachment Id
++
/Accounts/{AccountID}/Attachments/{AttachmentID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17645,157 +24348,163 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getAccountAttachmentById: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| AttachmentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Attachment object
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| contentType* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
-
-
- Required
- |
-
-
getAccountAttachments
-Retrieves attachments for a specific accounts by using a unique account Id
--
/Accounts/{AccountID}/Attachments
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ AccountID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Account object
+
+
+
+ Required
+
+
+
+
+
+
+
+ AttachmentID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Attachment object
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ contentType*
+
+
+
+
+
+
+
+ String
+
+
+
+ The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getAccountAttachments
+Retrieves attachments for a specific accounts by using a unique account Id
++
/Accounts/{AccountID}/Attachments
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17818,108 +24527,111 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getAccountAttachments: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| AccountID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Account object
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
getAccounts
-Retrieves the full chart of accounts
--
/Accounts
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ AccountID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Account object
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getAccounts
+Retrieves the full chart of accounts
++
/Accounts
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -17944,145 +24656,151 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getAccounts: %s\n" % e)
- Scopes
-| accounting.settings | -Grant read-write access to organisation and account settings | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| If-Modified-Since | -
-
-
-
-
-
-
-
-
- Date
-
-
- (date-time)
-
-
-
-
-Only records created or modified since this timestamp will be returned
-
- |
-
| Name | -Description | -
|---|---|
| where | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Filter by an any element
-
- |
-
| order | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Order by an any element
-
- |
-
-
getBankTransaction
-Retrieves a single spent or received money transaction by using a unique bank transaction Id
--
/BankTransactions/{BankTransactionID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.settings
+ Grant read-write access to organisation and account settings
+
+
+
+ Parameters
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ If-Modified-Since
+
+
+
+
+
+
+
+ Date
+
+
+ (date-time)
+
+
+
+ Only records created or modified since this timestamp will be returned
+
+
+
+
+
+
+
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ where
+
+
+
+
+
+
+
+ String
+
+
+
+ Filter by an any element
+
+
+
+
+
+
+
+
+ order
+
+
+
+
+
+
+
+ String
+
+
+
+ Order by an any element
+
+
+
+
+
+
+
+
+
+ +
getBankTransaction
+Retrieves a single spent or received money transaction by using a unique bank transaction Id
++
/BankTransactions/{BankTransactionID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18105,135 +24823,142 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransaction: %s\n" % e)
- Scopes
-| accounting.transactions.read | -Grant read-only access to invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
getBankTransactionAttachmentByFileName
-Retrieves a specific attachment from a specific bank transaction by filename
--
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.transactions.read
+ Grant read-only access to invoices
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
getBankTransactionAttachmentByFileName
+Retrieves a specific attachment from a specific bank transaction by filename
++
/BankTransactions/{BankTransactionID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18258,154 +24983,160 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransactionAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| contentType* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
-
-
- Required
- |
-
-
getBankTransactionAttachmentById
-Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
--
/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ FileName*
+
+
+
+
+
+
+
+ String
+
+
+
+ Name of the attachment
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ contentType*
+
+
+
+
+
+
+
+ String
+
+
+
+ The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getBankTransactionAttachmentById
+Retrieves specific attachments from a specific BankTransaction using a unique attachment Id
++
/BankTransactions/{BankTransactionID}/Attachments/{AttachmentID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18430,157 +25161,163 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransactionAttachmentById: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| AttachmentID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Unique identifier for Attachment object
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| contentType* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
-
-
- Required
- |
-
-
getBankTransactionAttachments
-Retrieves any attachments from a specific bank transactions
--
/BankTransactions/{BankTransactionID}/Attachments
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ AttachmentID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Unique identifier for Attachment object
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ contentType*
+
+
+
+
+
+
+
+ String
+
+
+
+ The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getBankTransactionAttachments
+Retrieves any attachments from a specific bank transactions
++
/BankTransactions/{BankTransactionID}/Attachments
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18603,108 +25340,112 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransactionAttachments: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
getBankTransactions
-Retrieves any spent or received money transactions
--
/BankTransactions
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getBankTransactions
+Retrieves any spent or received money transactions
++
/BankTransactions
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18729,185 +25470,194 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransactions: %s\n" % e)
- Scopes
-| accounting.transactions.read | -Grant read-only access to invoices | -
Parameters
-| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
| If-Modified-Since | -
-
-
-
-
-
-
-
-
- Date
-
-
- (date-time)
-
-
-
-
-Only records created or modified since this timestamp will be returned
-
- |
-
| Name | -Description | -
|---|---|
| where | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Filter by an any element
-
- |
-
| order | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Order by an any element
-
- |
-
| page | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-Up to 100 bank transactions will be returned in a single API call with line items details
-
- |
-
| unitdp | -
-
-
-
-
-
-
-
-
- Integer
-
-
-
-
-e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit amounts
-
- |
-
-
getBankTransactionsHistory
-Retrieves history from a specific bank transaction using a unique bank transaction Id
--
/BankTransactions/{BankTransactionID}/History
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.transactions.read
+ Grant read-only access to invoices
+
+
+
+ Parameters
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+ If-Modified-Since
+
+
+
+
+
+
+
+ Date
+
+
+ (date-time)
+
+
+
+ Only records created or modified since this timestamp will be returned
+
+
+
+
+
+
+
+
+ Query parameters
+
+
+ Name
+ Description
+
+
+ where
+
+
+
+
+
+
+
+ String
+
+
+
+ Filter by an any element
+
+
+
+
+
+
+
+
+ order
+
+
+
+
+
+
+
+ String
+
+
+
+ Order by an any element
+
+
+
+
+
+
+
+
+ page
+
+
+
+
+
+
+
+ Integer
+
+
+
+ Up to 100 bank transactions will be returned in a single API call with line items details
+
+
+
+
+
+
+
+
+ unitdp
+
+
+
+
+
+
+
+ Integer
+
+
+
+ e.g. unitdp=4 – (Unit Decimal Places) You can opt in to use four decimal places for unit
+ amounts
+
+
+
+
+
+
+
+
+
+ +
getBankTransactionsHistory
+Retrieves history from a specific bank transaction using a unique bank transaction Id
++
/BankTransactions/{BankTransactionID}/History
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -18930,108 +25680,112 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransactionsHistory: %s\n" % e)
- Scopes
-| accounting.transactions.read | -Grant read-only access to invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransactionID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transaction
-
-
- Required
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
-
getBankTransfer
-Retrieves specific bank transfers by using a unique bank transfer Id
--
/BankTransfers/{BankTransferID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.transactions.read
+ Grant read-only access to invoices
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransactionID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transaction
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getBankTransfer
+Retrieves specific bank transfers by using a unique bank transfer Id
++
/BankTransfers/{BankTransferID}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -19054,108 +25808,113 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransfer: %s\n" % e)
- Scopes
-| accounting.transactions.read | -Grant read-only access to invoices | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransferID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transfer
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
- |
-
-
getBankTransferAttachmentByFileName
-Retrieves a specific attachment on a specific bank transfer by file name
--
/BankTransfers/{BankTransferID}/Attachments/{FileName}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.transactions.read
+ Grant read-only access to invoices
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransferID*
+
+
+
+
+
+
+
+ UUID
+
+
+ (uuid)
+
+
+
+ Xero generated unique identifier for a bank transfer
+
+
+
+ Required
+
+
+
+
+
+
+
+ Header parameters
+
+
+ Name
+ Description
+
+
+ xero-tenant-id*
+
+
+
+
+
+
+
+ String
+
+
+
+ Xero identifier for Tenant
+
+
+
+ Required
+
+
+
+
+
+
+
+
+ +
getBankTransferAttachmentByFileName
+Retrieves a specific attachment on a specific bank transfer by file name
++
/BankTransfers/{BankTransferID}/Attachments/{FileName}
+ +
Usage and SDK Samples
+ + +# configure api_client for use with xero-python sdk client
api_client = ApiClient(
Configuration(
debug=false,
@@ -19180,154 +25939,160 @@ Usage and SDK Samples
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AccountingApi->getBankTransferAttachmentByFileName: %s\n" % e)
- Scopes
-| accounting.attachments.read | -Grant read-only access to attachments | -
Parameters
-| Name | -Description | -
|---|---|
| BankTransferID* | -
-
-
-
-
-
-
-
-
- UUID
-
-
- (uuid)
-
-
-
-
-Xero generated unique identifier for a bank transfer
-
-
- Required
-
- |
-
| FileName* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Name of the attachment
-
-
- Required
-
- |
-
| Name | -Description | -
|---|---|
| xero-tenant-id* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-Xero identifier for Tenant
-
-
- Required
-
- |
-
| contentType* | -
-
-
-
-
-
-
-
-
- String
-
-
-
-
-The mime type of the attachment file you are retrieving i.e image/jpg, application/pdf
-
-
- Required
- |
-
-
getBankTransferAttachmentById
-Retrieves a specific attachment from a specific bank transfer using a unique attachment ID
--
/BankTransfers/{BankTransferID}/Attachments/{AttachmentID}
- -
Usage and SDK Samples
- - -# configure api_client for use with xero-python sdk client
+ Scopes
+
+
+
+ accounting.attachments.read
+ Grant read-only access to attachments
+
+
+
+ Parameters
+ Path parameters
+
+
+ Name
+ Description
+
+
+ BankTransferID*
+
+
+
+
+
+
-## Features
+
+| [`full-app`](https://github.com/XeroAPI/xero-python-oauth2-app) | Complete app with more complex examples |
+| [`custom-connections-starter`](https://github.com/XeroAPI/xero-python-custom-connections-starter) | Basic app showing Custom Connections - a Xero [premium option](https://developer.xero.com/documentation/oauth2/custom-connections) for building M2M integrations to a single org |
+
+
-
-