docs formatting
This commit is contained in:
parent
9068774f35
commit
08ea22eee9
1 changed files with 80 additions and 66 deletions
|
|
@ -291,7 +291,6 @@ models:
|
||||||
You can use this to find specific deal ids or even as a proxy bool to
|
You can use this to find specific deal ids or even as a proxy bool to
|
||||||
keep or remove deal id customers.
|
keep or remove deal id customers.
|
||||||
|
|
||||||
|
|
||||||
- name: contact_name
|
- name: contact_name
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: The name for the customer.
|
description: The name for the customer.
|
||||||
|
|
@ -484,8 +483,8 @@ models:
|
||||||
|
|
||||||
- name: line_amount_local_curr
|
- name: line_amount_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total value to be charged for this line, in local currency.
|
description: |
|
||||||
"
|
The total value to be charged for this line, in local currency.
|
||||||
|
|
||||||
- name: line_amount_in_gbp
|
- name: line_amount_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
@ -493,24 +492,25 @@ models:
|
||||||
|
|
||||||
- name: line_amount_wo_taxes_local_curr
|
- name: line_amount_wo_taxes_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total value to be charged for this line, minus taxes, in local
|
description: |
|
||||||
currency.
|
|
||||||
|
|
||||||
In some cases, this will be the same value as the line amount. This
|
The total value to be charged for this line, minus taxes, in local
|
||||||
depends on whether there is any tax in the invoice, and whether the
|
currency.
|
||||||
invoice amounts are tax inclusive or tax exclusive. You can find this
|
|
||||||
out in the details of the invoice this line item belongs to.
|
In some cases, this will be the same value as the line amount. This
|
||||||
"
|
depends on whether there is any tax in the invoice, and whether the
|
||||||
|
invoice amounts are tax inclusive or tax exclusive. You can find this
|
||||||
|
out in the details of the invoice this line item belongs to.
|
||||||
|
|
||||||
- name: line_amount_wo_taxes_in_gbp
|
- name: line_amount_wo_taxes_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total value to be charged for this line, minus taxes, in GBP.
|
description: |
|
||||||
|
The total value to be charged for this line, minus taxes, in GBP.
|
||||||
|
|
||||||
In some cases, this will be the same value as the line amount. This
|
In some cases, this will be the same value as the line amount. This
|
||||||
depends on whether there is any tax in the invoice, and whether the
|
depends on whether there is any tax in the invoice, and whether the
|
||||||
invoice amounts are tax inclusive or tax exclusive. You can find this
|
invoice amounts are tax inclusive or tax exclusive. You can find this
|
||||||
out in the details of the invoice this line item belongs to.
|
out in the details of the invoice this line item belongs to.
|
||||||
"
|
|
||||||
|
|
||||||
- name: tax_amount_local_curr
|
- name: tax_amount_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
@ -534,9 +534,9 @@ out in the details of the invoice this line item belongs to.
|
||||||
|
|
||||||
- name: reference
|
- name: reference
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "The Superhog-set reference for the invoices. Only relevant for
|
description: |
|
||||||
records of invoice type (ACCREC).
|
The Superhog-set reference for the invoices. Only relevant for
|
||||||
"
|
records of invoice type (ACCREC).
|
||||||
|
|
||||||
- name: invoice_number
|
- name: invoice_number
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
|
|
@ -552,41 +552,43 @@ records of invoice type (ACCREC).
|
||||||
|
|
||||||
- name: was_fully_paid_on_date_utc
|
- name: was_fully_paid_on_date_utc
|
||||||
data_type: timestamp with time zone
|
data_type: timestamp with time zone
|
||||||
description: "The date on which the invoice was fully paid. If the invoice is still
|
description: |
|
||||||
not fully paid, it returns null.
|
The date on which the invoice was fully paid. If the invoice is still
|
||||||
"
|
not fully paid, it returns null.
|
||||||
|
|
||||||
- name: invoice_type
|
- name: invoice_type
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "This field indicates whether the invoice is from Superhog towards a customer
|
description: |
|
||||||
(value is "ACCREC") or from a supplier towards Superhog (value is "ACCPAY").
|
This field indicates whether the invoice is from Superhog towards a customer
|
||||||
"
|
(value is "ACCREC") or from a supplier towards Superhog (value is "ACCPAY").
|
||||||
|
|
||||||
- name: invoice_currency_iso_4217
|
- name: invoice_currency_iso_4217
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "The currency in which this line item amounts are defined.
|
description: |
|
||||||
|
The currency in which this line item amounts are defined.
|
||||||
|
|
||||||
Line items don't really have a currency definition of its own, this
|
Line items don't really have a currency definition of its own, this
|
||||||
field is populated for your convenience when working with this data.
|
field is populated for your convenience when working with this data.
|
||||||
The invoice currency is defined at the invoice level, and the values
|
The invoice currency is defined at the invoice level, and the values
|
||||||
you see in this field should always be the same as the currency of
|
you see in this field should always be the same as the currency of
|
||||||
the invoice this line item belongs to.
|
the invoice this line item belongs to.
|
||||||
"
|
|
||||||
|
|
||||||
- name: exchange_rate_to_gbp
|
- name: exchange_rate_to_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The implied exchange rate between the invoice currency and GBP.
|
description: |
|
||||||
|
The implied exchange rate between the invoice currency and GBP.
|
||||||
|
|
||||||
This is the XXX to GBP rate. So the number represented in this field is the units of currency GBP
|
This is the XXX to GBP rate. So the number represented in this field
|
||||||
that 1 unit of XXX buys you.
|
is the units of currency GBP that 1 unit of XXX buys you.
|
||||||
|
|
||||||
For example, if the invoice is 135 ZAR, and this rate is 0.0167, the invoice value in GBP is 2.25
|
For example, if the invoice is 135 ZAR, and this rate is 0.0167, the
|
||||||
(135ZAR * 0.0167GBP/ZAR = 2.25GBP).
|
invoice value in GBP is 2.25 (135ZAR * 0.0167GBP/ZAR = 2.25GBP).
|
||||||
"
|
|
||||||
|
|
||||||
- name: total_amount_local_curr
|
- name: total_amount_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount to be paid, in the currency the invoice is denominated in."
|
description: |
|
||||||
|
The total amount to be paid, in the currency the invoice is
|
||||||
|
denominated in.
|
||||||
|
|
||||||
- name: total_amount_in_gbp
|
- name: total_amount_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
@ -594,15 +596,19 @@ For example, if the invoice is 135 ZAR, and this rate is 0.0167, the invoice val
|
||||||
|
|
||||||
- name: total_amount_wo_tax_local_curr
|
- name: total_amount_wo_tax_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount to be paid minus taxes, in the currency the invoice is denominated in."
|
description: |
|
||||||
|
The total amount to be paid minus taxes, in the currency the invoice
|
||||||
|
is denominated in.
|
||||||
|
|
||||||
- name: total_amount_wo_tax_in_gbp
|
- name: total_amount_wo_tax_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount to be paid minus taxes, converted to GBP."
|
description: |
|
||||||
|
The total amount to be paid minus taxes, converted to GBP.
|
||||||
|
|
||||||
- name: total_tax_local_curr
|
- name: total_tax_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total tax, in the currency the invoice is denominated in."
|
description: |
|
||||||
|
The total tax, in the currency the invoice is denominated in.
|
||||||
|
|
||||||
- name: total_tax_in_gbp
|
- name: total_tax_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
@ -610,15 +616,20 @@ For example, if the invoice is 135 ZAR, and this rate is 0.0167, the invoice val
|
||||||
|
|
||||||
- name: total_due_local_curr
|
- name: total_due_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount outstanding right now, in the currency the invoice is denominated in."
|
description: |
|
||||||
|
The total amount outstanding right now, in the currency the invoice
|
||||||
|
is denominated in.
|
||||||
|
|
||||||
- name: total_due_in_gbp
|
- name: total_due_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount outstanding right now, converted to GBP."
|
description: |
|
||||||
|
The total amount outstanding right now, converted to GBP.
|
||||||
|
|
||||||
- name: total_paid_local_curr
|
- name: total_paid_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "The total amount that has already been paid, in the currency the invoice is denominated in."
|
description: |
|
||||||
|
The total amount that has already been paid, in the currency the
|
||||||
|
invoice is denominated in.
|
||||||
|
|
||||||
- name: total_paid_in_gbp
|
- name: total_paid_in_gbp
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
|
|
@ -626,12 +637,13 @@ For example, if the invoice is 135 ZAR, and this rate is 0.0167, the invoice val
|
||||||
|
|
||||||
- name: invoice_status
|
- name: invoice_status
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "The status of the invoice.
|
description: |
|
||||||
|
|
||||||
Can be one of: PAID, VOIDED, DRAFT, DELETED, AUTHORISED, SUBMITTED.
|
The status of the invoice.
|
||||||
|
|
||||||
You can read more here: https://developer.xero.com/documentation/api/accounting/types#invoices
|
Can be one of PAID, VOIDED, DRAFT, DELETED, AUTHORISED, SUBMITTED.
|
||||||
"
|
|
||||||
|
You can read more here https://developer.xero.com/documentation/api/accounting/types#invoices
|
||||||
|
|
||||||
- name: has_errors
|
- name: has_errors
|
||||||
data_type: boolean
|
data_type: boolean
|
||||||
|
|
@ -659,7 +671,9 @@ You can read more here: https://developer.xero.com/documentation/api/accounting/
|
||||||
|
|
||||||
- name: total_credited_local_curr
|
- name: total_credited_local_curr
|
||||||
data_type: numeric
|
data_type: numeric
|
||||||
description: "Total amount credited by related credit notes, over-payments and pre-payments."
|
description: |
|
||||||
|
Total amount credited by related credit notes,
|
||||||
|
over-payments and pre-payments.
|
||||||
|
|
||||||
- name: has_attachments
|
- name: has_attachments
|
||||||
data_type: boolean
|
data_type: boolean
|
||||||
|
|
@ -667,10 +681,10 @@ You can read more here: https://developer.xero.com/documentation/api/accounting/
|
||||||
|
|
||||||
- name: line_amount_tax_inclusiveness
|
- name: line_amount_tax_inclusiveness
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "Indicates whether the amounts included in line items are tax
|
description: |
|
||||||
inclusive (Inclusive), tax exclusive (Exclusive) or simply,
|
Indicates whether the amounts included in line items are tax
|
||||||
there are no taxes on the invoice (NoTax).
|
inclusive (Inclusive), tax exclusive (Exclusive) or simply,
|
||||||
"
|
there are no taxes on the invoice (NoTax).
|
||||||
|
|
||||||
- name: payment_planned_date_utc
|
- name: payment_planned_date_utc
|
||||||
data_type: timestamp with time zone
|
data_type: timestamp with time zone
|
||||||
|
|
@ -686,16 +700,17 @@ there are no taxes on the invoice (NoTax).
|
||||||
|
|
||||||
- name: account_number
|
- name: account_number
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "A Superhog set identifier. For customers, this is Hubspot's Deal Id."
|
description: |
|
||||||
|
A Superhog set identifier. For customers, this is Hubspot's Deal Id.
|
||||||
|
|
||||||
- name: id_deal
|
- name: id_deal
|
||||||
data_type: text
|
data_type: text
|
||||||
description: "For those account numbers that look like a Deal Id, we extract them
|
description: |
|
||||||
into this field. Other contacs will have a blank.
|
For those account numbers that look like a Deal Id, we extract them
|
||||||
|
into this field. Other contacs will have a blank.
|
||||||
|
|
||||||
You can use this to find specific deal ids or even as a proxy bool to
|
You can use this to find specific deal ids or even as a proxy bool to
|
||||||
keep or remove deal id customers.
|
keep or remove deal id customers.
|
||||||
"
|
|
||||||
|
|
||||||
- name: contact_name
|
- name: contact_name
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
|
|
@ -787,10 +802,10 @@ keep or remove deal id customers.
|
||||||
|
|
||||||
- name: default_currency_iso_4217
|
- name: default_currency_iso_4217
|
||||||
data_type: character varying
|
data_type: character varying
|
||||||
description: "The default currency used to interact with this contact.
|
description: |
|
||||||
|
The default currency used to interact with this contact.
|
||||||
|
|
||||||
For customers, this is the currency we will usually use to invoice.
|
For customers, this is the currency we will usually use to invoice.
|
||||||
"
|
|
||||||
|
|
||||||
- name: validation_errors
|
- name: validation_errors
|
||||||
data_type: jsonb
|
data_type: jsonb
|
||||||
|
|
@ -835,4 +850,3 @@ For customers, this is the currency we will usually use to invoice.
|
||||||
- name: purchases_tracking_categories
|
- name: purchases_tracking_categories
|
||||||
data_type: jsonb
|
data_type: jsonb
|
||||||
description: ""
|
description: ""
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue