Description
Modify Xero settings.
Permission bit: "shop.modify"
Topic: Xero
Arguments
data: XeroSettingsCreate!
Main argument for mutations.
Unique shop identifier. See also: Unique Identifiers
Example: "sh_EQzGqWoY"
Data Argument Fields
customer_balance_account_code: String
Customer balance account code
Example: "270"
Valid when: customer_balance_account_code's length doesn't exceed 250 characters
Create daily summary invoices instead of an invoice per order
Example: true
Daily summary prefix to use when creating an order number
Example: "DAILY"
Valid when: daily_summary_prefix's length doesn't exceed 250 characters
Discount account code
Example: "356"
Valid when: discount_account_code's length doesn't exceed 250 characters
Whether syncing is enabled or not
Example: true
invoice_status: XeroInvoiceStatus
Create xero invoices in this status
payment_map: [XeroPaymentMapCreate!]
refund_adjustment_account_code: String
Refund adjustment account code
Example: "200"
Valid when: refund_adjustment_account_code's length doesn't exceed 250 characters
Rounding account code
Example: "860"
Valid when: rounding_account_code's length doesn't exceed 250 characters
Sales account code
Example: "200"
Valid when: sales_account_code's length doesn't exceed 250 characters
sales_tax_account_code: String
Salexs tax account code
Example: "250"
Valid when: sales_tax_account_code's length doesn't exceed 250 characters
Shipping account code
Example: "200"
Valid when: shipping_account_code's length doesn't exceed 250 characters
Date and time when customers were last synced
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Date and time when orders were last synced
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
Date and time when products were last synced
Example: "2014-09-04T12:23:34Z"
Timestamp (RFC 3339)
tax_map: [XeroTaxMapCreate!]
Use single customer instead of exported ones (disables customer syncing as well)
Example: false
Result
Preview (typescript)
Loading module