diff --git a/sync-for-payables/.gitattributes b/sync-for-payables/.gitattributes
new file mode 100755
index 000000000..4d75d5900
--- /dev/null
+++ b/sync-for-payables/.gitattributes
@@ -0,0 +1,2 @@
+# This allows generated code to be indexed correctly
+*.py linguist-generated=false
\ No newline at end of file
diff --git a/sync-for-payables/.gitignore b/sync-for-payables/.gitignore
new file mode 100755
index 000000000..3cdf33802
--- /dev/null
+++ b/sync-for-payables/.gitignore
@@ -0,0 +1,6 @@
+venv/
+src/*.egg-info/
+__pycache__/
+.pytest_cache/
+.python-version
+.DS_Store
diff --git a/sync-for-payables/RELEASES.md b/sync-for-payables/RELEASES.md
new file mode 100644
index 000000000..6a1e8d45c
--- /dev/null
+++ b/sync-for-payables/RELEASES.md
@@ -0,0 +1,11 @@
+
+
+## 2023-09-01 16:48:10
+### Changes
+Based on:
+- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Payables.yaml
+- Speakeasy CLI 1.77.1 (2.91.4) https://github.com/speakeasy-api/speakeasy
+### Generated
+- [python v0.1.0] sync-for-payables
+### Releases
+- [PyPI v0.1.0] https://pypi.org/project/codat-sync-for-payables/0.1.0 - sync-for-payables
\ No newline at end of file
diff --git a/sync-for-payables/USAGE.md b/sync-for-payables/USAGE.md
new file mode 100755
index 000000000..515d54f5a
--- /dev/null
+++ b/sync-for-payables/USAGE.md
@@ -0,0 +1,67 @@
+
+
+
+```python
+import codatsyncpayables
+from codatsyncpayables.models import operations, shared
+
+s = codatsyncpayables.CodatSyncPayables(
+ security=shared.Security(
+ auth_header="Basic BASE_64_ENCODED(API_KEY)",
+ ),
+)
+
+req = operations.CreateAccountRequest(
+ account=shared.Account(
+ currency='USD',
+ current_balance=0,
+ description='Invoices the business has issued but has not yet collected payment on.',
+ fully_qualified_category='Asset.Current',
+ fully_qualified_name='Fixed Asset',
+ id='1b6266d1-1e44-46c5-8eb5-a8f98e03124e',
+ is_bank_account=False,
+ metadata=shared.Metadata(
+ is_deleted=False,
+ ),
+ modified_date='2022-10-23T00:00:00.000Z',
+ name='Accounts Receivable',
+ nominal_code='610',
+ source_modified_date='2022-10-23T00:00:00.000Z',
+ status=shared.AccountStatus.ACTIVE,
+ type=shared.AccountType.ASSET,
+ valid_datatype_links=[
+ shared.AccountValidDataTypeLinks(
+ links=[
+ 'corrupti',
+ 'illum',
+ 'vel',
+ 'error',
+ ],
+ property='deserunt',
+ ),
+ shared.AccountValidDataTypeLinks(
+ links=[
+ 'iure',
+ 'magnam',
+ ],
+ property='debitis',
+ ),
+ shared.AccountValidDataTypeLinks(
+ links=[
+ 'delectus',
+ ],
+ property='tempora',
+ ),
+ ],
+ ),
+ company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
+ connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
+ timeout_in_minutes=383441,
+)
+
+res = s.accounts.create(req)
+
+if res.create_account_response is not None:
+ # handle response
+```
+
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createaccountrequest.md b/sync-for-payables/docs/models/operations/createaccountrequest.md
new file mode 100755
index 000000000..f212e4aba
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createaccountrequest.md
@@ -0,0 +1,11 @@
+# CreateAccountRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
+| `account` | [Optional[shared.Account]](../../models/shared/account.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createaccountresponse.md b/sync-for-payables/docs/models/operations/createaccountresponse.md
new file mode 100755
index 000000000..146716ba1
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createaccountresponse.md
@@ -0,0 +1,12 @@
+# CreateAccountResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_account_response` | [Optional[shared.CreateAccountResponse]](../../models/shared/createaccountresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillcreditnoterequest.md b/sync-for-payables/docs/models/operations/createbillcreditnoterequest.md
new file mode 100755
index 000000000..b465013a6
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillcreditnoterequest.md
@@ -0,0 +1,11 @@
+# CreateBillCreditNoteRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ |
+| `bill_credit_note` | [Optional[shared.BillCreditNote]](../../models/shared/billcreditnote.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillcreditnoteresponse.md b/sync-for-payables/docs/models/operations/createbillcreditnoteresponse.md
new file mode 100755
index 000000000..8621d1a49
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillcreditnoteresponse.md
@@ -0,0 +1,12 @@
+# CreateBillCreditNoteResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_bill_credit_note_response` | [Optional[shared.CreateBillCreditNoteResponse]](../../models/shared/createbillcreditnoteresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillpaymentrequest.md b/sync-for-payables/docs/models/operations/createbillpaymentrequest.md
new file mode 100755
index 000000000..53bb9ca4d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillpaymentrequest.md
@@ -0,0 +1,11 @@
+# CreateBillPaymentRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
+| `bill_payment` | [Optional[shared.BillPayment]](../../models/shared/billpayment.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillpaymentresponse.md b/sync-for-payables/docs/models/operations/createbillpaymentresponse.md
new file mode 100755
index 000000000..400ee9f0a
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillpaymentresponse.md
@@ -0,0 +1,12 @@
+# CreateBillPaymentResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_bill_payment_response` | [Optional[shared.CreateBillPaymentResponse]](../../models/shared/createbillpaymentresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillrequest.md b/sync-for-payables/docs/models/operations/createbillrequest.md
new file mode 100755
index 000000000..6a779374c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillrequest.md
@@ -0,0 +1,11 @@
+# CreateBillRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- |
+| `bill` | [Optional[shared.Bill]](../../models/shared/bill.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createbillresponse.md b/sync-for-payables/docs/models/operations/createbillresponse.md
new file mode 100755
index 000000000..d67e1ae4c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createbillresponse.md
@@ -0,0 +1,12 @@
+# CreateBillResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_bill_response` | [Optional[shared.CreateBillResponse]](../../models/shared/createbillresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createcompanyresponse.md b/sync-for-payables/docs/models/operations/createcompanyresponse.md
new file mode 100755
index 000000000..ea59de39f
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createcompanyresponse.md
@@ -0,0 +1,12 @@
+# CreateCompanyResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `company` | [Optional[shared.Company]](../../models/shared/company.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createconnectionrequest.md b/sync-for-payables/docs/models/operations/createconnectionrequest.md
new file mode 100755
index 000000000..775111c5e
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createconnectionrequest.md
@@ -0,0 +1,9 @@
+# CreateConnectionRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `request_body` | [Optional[CreateConnectionRequestBody]](../../models/operations/createconnectionrequestbody.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createconnectionrequestbody.md b/sync-for-payables/docs/models/operations/createconnectionrequestbody.md
new file mode 100755
index 000000000..510a6b3b0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createconnectionrequestbody.md
@@ -0,0 +1,8 @@
+# CreateConnectionRequestBody
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `platform_key` | *Optional[str]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createconnectionresponse.md b/sync-for-payables/docs/models/operations/createconnectionresponse.md
new file mode 100755
index 000000000..5aa8726d9
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createconnectionresponse.md
@@ -0,0 +1,12 @@
+# CreateConnectionResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `connection` | [Optional[shared.Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createjournalentryrequest.md b/sync-for-payables/docs/models/operations/createjournalentryrequest.md
new file mode 100755
index 000000000..aab47295b
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createjournalentryrequest.md
@@ -0,0 +1,11 @@
+# CreateJournalEntryRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
+| `journal_entry` | [Optional[shared.JournalEntry]](../../models/shared/journalentry.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createjournalentryresponse.md b/sync-for-payables/docs/models/operations/createjournalentryresponse.md
new file mode 100755
index 000000000..959a2f902
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createjournalentryresponse.md
@@ -0,0 +1,12 @@
+# CreateJournalEntryResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_journal_entry_response` | [Optional[shared.CreateJournalEntryResponse]](../../models/shared/createjournalentryresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createjournalrequest.md b/sync-for-payables/docs/models/operations/createjournalrequest.md
new file mode 100755
index 000000000..d29bb915f
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createjournalrequest.md
@@ -0,0 +1,11 @@
+# CreateJournalRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
+| `journal` | [Optional[shared.Journal]](../../models/shared/journal.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createjournalresponse.md b/sync-for-payables/docs/models/operations/createjournalresponse.md
new file mode 100755
index 000000000..f3a82d4d0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createjournalresponse.md
@@ -0,0 +1,12 @@
+# CreateJournalResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_journal_response` | [Optional[shared.CreateJournalResponse]](../../models/shared/createjournalresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createsupplierrequest.md b/sync-for-payables/docs/models/operations/createsupplierrequest.md
new file mode 100755
index 000000000..68149bdfb
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createsupplierrequest.md
@@ -0,0 +1,11 @@
+# CreateSupplierRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ |
+| `supplier` | [Optional[shared.Supplier]](../../models/shared/supplier.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/createsupplierresponse.md b/sync-for-payables/docs/models/operations/createsupplierresponse.md
new file mode 100755
index 000000000..499202b3b
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/createsupplierresponse.md
@@ -0,0 +1,12 @@
+# CreateSupplierResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `create_supplier_response` | [Optional[shared.CreateSupplierResponse]](../../models/shared/createsupplierresponse.md) | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/deletecompanyrequest.md b/sync-for-payables/docs/models/operations/deletecompanyrequest.md
new file mode 100755
index 000000000..268537e13
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/deletecompanyrequest.md
@@ -0,0 +1,8 @@
+# DeleteCompanyRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/deletecompanyresponse.md b/sync-for-payables/docs/models/operations/deletecompanyresponse.md
new file mode 100755
index 000000000..ee9fe7cd3
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/deletecompanyresponse.md
@@ -0,0 +1,11 @@
+# DeleteCompanyResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/deleteconnectionrequest.md b/sync-for-payables/docs/models/operations/deleteconnectionrequest.md
new file mode 100755
index 000000000..2cab8bf4a
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/deleteconnectionrequest.md
@@ -0,0 +1,9 @@
+# DeleteConnectionRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/deleteconnectionresponse.md b/sync-for-payables/docs/models/operations/deleteconnectionresponse.md
new file mode 100755
index 000000000..973be81b3
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/deleteconnectionresponse.md
@@ -0,0 +1,11 @@
+# DeleteConnectionResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/downloadbillattachmentrequest.md b/sync-for-payables/docs/models/operations/downloadbillattachmentrequest.md
new file mode 100755
index 000000000..6e2e5196f
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/downloadbillattachmentrequest.md
@@ -0,0 +1,11 @@
+# DownloadBillAttachmentRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `attachment_id` | *str* | :heavy_check_mark: | Unique identifier for an attachment | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/downloadbillattachmentresponse.md b/sync-for-payables/docs/models/operations/downloadbillattachmentresponse.md
new file mode 100755
index 000000000..1a5b512ba
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/downloadbillattachmentresponse.md
@@ -0,0 +1,12 @@
+# DownloadBillAttachmentResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `data` | *Optional[bytes]* | :heavy_minus_sign: | Success |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getaccountrequest.md b/sync-for-payables/docs/models/operations/getaccountrequest.md
new file mode 100755
index 000000000..5aec9860c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getaccountrequest.md
@@ -0,0 +1,9 @@
+# GetAccountRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `account_id` | *str* | :heavy_check_mark: | Unique identifier for an account | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getaccountresponse.md b/sync-for-payables/docs/models/operations/getaccountresponse.md
new file mode 100755
index 000000000..b9f53ec86
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getaccountresponse.md
@@ -0,0 +1,12 @@
+# GetAccountResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `account` | [Optional[shared.Account]](../../models/shared/account.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillattachmentrequest.md b/sync-for-payables/docs/models/operations/getbillattachmentrequest.md
new file mode 100755
index 000000000..58173a8af
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillattachmentrequest.md
@@ -0,0 +1,11 @@
+# GetBillAttachmentRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `attachment_id` | *str* | :heavy_check_mark: | Unique identifier for an attachment | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillattachmentresponse.md b/sync-for-payables/docs/models/operations/getbillattachmentresponse.md
new file mode 100755
index 000000000..b6a56c06c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillattachmentresponse.md
@@ -0,0 +1,12 @@
+# GetBillAttachmentResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `attachment` | [Optional[shared.Attachment]](../../models/shared/attachment.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillcreditnoterequest.md b/sync-for-payables/docs/models/operations/getbillcreditnoterequest.md
new file mode 100755
index 000000000..dd07e884e
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillcreditnoterequest.md
@@ -0,0 +1,9 @@
+# GetBillCreditNoteRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `bill_credit_note_id` | *str* | :heavy_check_mark: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillcreditnoteresponse.md b/sync-for-payables/docs/models/operations/getbillcreditnoteresponse.md
new file mode 100755
index 000000000..7afbe9ee7
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillcreditnoteresponse.md
@@ -0,0 +1,12 @@
+# GetBillCreditNoteResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bill_credit_note` | [Optional[shared.BillCreditNote]](../../models/shared/billcreditnote.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillpaymentsrequest.md b/sync-for-payables/docs/models/operations/getbillpaymentsrequest.md
new file mode 100755
index 000000000..4b4faa96d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillpaymentsrequest.md
@@ -0,0 +1,9 @@
+# GetBillPaymentsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `bill_payment_id` | *str* | :heavy_check_mark: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillpaymentsresponse.md b/sync-for-payables/docs/models/operations/getbillpaymentsresponse.md
new file mode 100755
index 000000000..d2cb02105
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillpaymentsresponse.md
@@ -0,0 +1,12 @@
+# GetBillPaymentsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bill_payment` | [Optional[shared.BillPayment]](../../models/shared/billpayment.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillrequest.md b/sync-for-payables/docs/models/operations/getbillrequest.md
new file mode 100755
index 000000000..4da84bbff
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillrequest.md
@@ -0,0 +1,9 @@
+# GetBillRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getbillresponse.md b/sync-for-payables/docs/models/operations/getbillresponse.md
new file mode 100755
index 000000000..7d1fffeab
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getbillresponse.md
@@ -0,0 +1,12 @@
+# GetBillResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bill` | [Optional[shared.Bill]](../../models/shared/bill.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcompanyrequest.md b/sync-for-payables/docs/models/operations/getcompanyrequest.md
new file mode 100755
index 000000000..4c9629ab6
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcompanyrequest.md
@@ -0,0 +1,8 @@
+# GetCompanyRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcompanyresponse.md b/sync-for-payables/docs/models/operations/getcompanyresponse.md
new file mode 100755
index 000000000..a0c0a41b1
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcompanyresponse.md
@@ -0,0 +1,12 @@
+# GetCompanyResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `company` | [Optional[shared.Company]](../../models/shared/company.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getconnectionrequest.md b/sync-for-payables/docs/models/operations/getconnectionrequest.md
new file mode 100755
index 000000000..d9d6f6c13
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getconnectionrequest.md
@@ -0,0 +1,9 @@
+# GetConnectionRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getconnectionresponse.md b/sync-for-payables/docs/models/operations/getconnectionresponse.md
new file mode 100755
index 000000000..32fb66433
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getconnectionresponse.md
@@ -0,0 +1,12 @@
+# GetConnectionResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `connection` | [Optional[shared.Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateaccountmodelrequest.md b/sync-for-payables/docs/models/operations/getcreateaccountmodelrequest.md
new file mode 100755
index 000000000..9963a88df
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateaccountmodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateAccountModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateaccountmodelresponse.md b/sync-for-payables/docs/models/operations/getcreateaccountmodelresponse.md
new file mode 100755
index 000000000..8e0e46950
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateaccountmodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateAccountModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelrequest.md b/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelrequest.md
new file mode 100755
index 000000000..93a5155b3
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateBillPaymentModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelresponse.md b/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelresponse.md
new file mode 100755
index 000000000..99b7940a5
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatebillpaymentmodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateBillPaymentModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatejournalentrymodelrequest.md b/sync-for-payables/docs/models/operations/getcreatejournalentrymodelrequest.md
new file mode 100755
index 000000000..aa6181c76
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatejournalentrymodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateJournalEntryModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatejournalentrymodelresponse.md b/sync-for-payables/docs/models/operations/getcreatejournalentrymodelresponse.md
new file mode 100755
index 000000000..df4d4baff
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatejournalentrymodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateJournalEntryModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatejournalmodelrequest.md b/sync-for-payables/docs/models/operations/getcreatejournalmodelrequest.md
new file mode 100755
index 000000000..65de8ae3b
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatejournalmodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateJournalModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreatejournalmodelresponse.md b/sync-for-payables/docs/models/operations/getcreatejournalmodelresponse.md
new file mode 100755
index 000000000..88b5cd73c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreatejournalmodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateJournalModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelrequest.md b/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelrequest.md
new file mode 100755
index 000000000..dc0a8b190
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateUpdateBillCreditNoteModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelresponse.md b/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelresponse.md
new file mode 100755
index 000000000..ea425c40a
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatebillcreditnotemodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateUpdateBillCreditNoteModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatebillmodelrequest.md b/sync-for-payables/docs/models/operations/getcreateupdatebillmodelrequest.md
new file mode 100755
index 000000000..45b3cff04
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatebillmodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateUpdateBillModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatebillmodelresponse.md b/sync-for-payables/docs/models/operations/getcreateupdatebillmodelresponse.md
new file mode 100755
index 000000000..f344bfc1d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatebillmodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateUpdateBillModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelrequest.md b/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelrequest.md
new file mode 100755
index 000000000..fb09d1f2d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelrequest.md
@@ -0,0 +1,9 @@
+# GetCreateUpdateSupplierModelRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelresponse.md b/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelresponse.md
new file mode 100755
index 000000000..09bd45d6d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getcreateupdatesuppliermodelresponse.md
@@ -0,0 +1,12 @@
+# GetCreateUpdateSupplierModelResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_option` | [Optional[shared.PushOption]](../../models/shared/pushoption.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getdatastatusrequest.md b/sync-for-payables/docs/models/operations/getdatastatusrequest.md
new file mode 100755
index 000000000..8ee7b2510
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getdatastatusrequest.md
@@ -0,0 +1,8 @@
+# GetDataStatusRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getdatastatusresponse.md b/sync-for-payables/docs/models/operations/getdatastatusresponse.md
new file mode 100755
index 000000000..9ffc60fec
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getdatastatusresponse.md
@@ -0,0 +1,12 @@
+# GetDataStatusResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `data_status_response` | dict[str, [shared.DataStatus](../../models/shared/datastatus.md)] | :heavy_minus_sign: | OK |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getjournalrequest.md b/sync-for-payables/docs/models/operations/getjournalrequest.md
new file mode 100755
index 000000000..a64b3b411
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getjournalrequest.md
@@ -0,0 +1,9 @@
+# GetJournalRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `journal_id` | *str* | :heavy_check_mark: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getjournalresponse.md b/sync-for-payables/docs/models/operations/getjournalresponse.md
new file mode 100755
index 000000000..ca7114ac5
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getjournalresponse.md
@@ -0,0 +1,12 @@
+# GetJournalResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `journal` | [Optional[shared.Journal]](../../models/shared/journal.md) | :heavy_minus_sign: | Success |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpaymentmethodrequest.md b/sync-for-payables/docs/models/operations/getpaymentmethodrequest.md
new file mode 100755
index 000000000..bc8abab68
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpaymentmethodrequest.md
@@ -0,0 +1,9 @@
+# GetPaymentMethodRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `payment_method_id` | *str* | :heavy_check_mark: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpaymentmethodresponse.md b/sync-for-payables/docs/models/operations/getpaymentmethodresponse.md
new file mode 100755
index 000000000..0f3212bd0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpaymentmethodresponse.md
@@ -0,0 +1,12 @@
+# GetPaymentMethodResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `payment_method` | [Optional[shared.PaymentMethod]](../../models/shared/paymentmethod.md) | :heavy_minus_sign: | Success |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpulloperationrequest.md b/sync-for-payables/docs/models/operations/getpulloperationrequest.md
new file mode 100755
index 000000000..a965477f9
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpulloperationrequest.md
@@ -0,0 +1,9 @@
+# GetPullOperationRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `dataset_id` | *str* | :heavy_check_mark: | Unique ID of a dataset or pull operation. | eaed9f0f-e77b-4bc9-a58f-ab8b4b99ab18 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpulloperationresponse.md b/sync-for-payables/docs/models/operations/getpulloperationresponse.md
new file mode 100755
index 000000000..1527d9f32
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpulloperationresponse.md
@@ -0,0 +1,12 @@
+# GetPullOperationResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `pull_operation` | [Optional[shared.PullOperation]](../../models/shared/pulloperation.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpushoperationrequest.md b/sync-for-payables/docs/models/operations/getpushoperationrequest.md
new file mode 100755
index 000000000..8a7e2f877
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpushoperationrequest.md
@@ -0,0 +1,9 @@
+# GetPushOperationRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `push_operation_key` | *str* | :heavy_check_mark: | Push operation key. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getpushoperationresponse.md b/sync-for-payables/docs/models/operations/getpushoperationresponse.md
new file mode 100755
index 000000000..0477eb0ec
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getpushoperationresponse.md
@@ -0,0 +1,12 @@
+# GetPushOperationResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `push_operation` | [Optional[shared.PushOperation]](../../models/shared/pushoperation.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getsupplierrequest.md b/sync-for-payables/docs/models/operations/getsupplierrequest.md
new file mode 100755
index 000000000..d11501fc0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getsupplierrequest.md
@@ -0,0 +1,9 @@
+# GetSupplierRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `supplier_id` | *str* | :heavy_check_mark: | Unique identifier for a supplier | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/getsupplierresponse.md b/sync-for-payables/docs/models/operations/getsupplierresponse.md
new file mode 100755
index 000000000..298bff3cb
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/getsupplierresponse.md
@@ -0,0 +1,12 @@
+# GetSupplierResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `supplier` | [Optional[shared.Supplier]](../../models/shared/supplier.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/gettaxraterequest.md b/sync-for-payables/docs/models/operations/gettaxraterequest.md
new file mode 100755
index 000000000..f62035cd4
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/gettaxraterequest.md
@@ -0,0 +1,9 @@
+# GetTaxRateRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `tax_rate_id` | *str* | :heavy_check_mark: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/gettaxrateresponse.md b/sync-for-payables/docs/models/operations/gettaxrateresponse.md
new file mode 100755
index 000000000..85a7ab052
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/gettaxrateresponse.md
@@ -0,0 +1,12 @@
+# GetTaxRateResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `tax_rate` | [Optional[shared.TaxRate]](../../models/shared/taxrate.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/gettrackingcategoryrequest.md b/sync-for-payables/docs/models/operations/gettrackingcategoryrequest.md
new file mode 100755
index 000000000..37325af20
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/gettrackingcategoryrequest.md
@@ -0,0 +1,9 @@
+# GetTrackingCategoryRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `tracking_category_id` | *str* | :heavy_check_mark: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/gettrackingcategoryresponse.md b/sync-for-payables/docs/models/operations/gettrackingcategoryresponse.md
new file mode 100755
index 000000000..90d35c4e0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/gettrackingcategoryresponse.md
@@ -0,0 +1,12 @@
+# GetTrackingCategoryResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `tracking_category_tree` | [Optional[shared.TrackingCategoryTree]](../../models/shared/trackingcategorytree.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listaccountsrequest.md b/sync-for-payables/docs/models/operations/listaccountsrequest.md
new file mode 100755
index 000000000..6d98befb9
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listaccountsrequest.md
@@ -0,0 +1,12 @@
+# ListAccountsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listaccountsresponse.md b/sync-for-payables/docs/models/operations/listaccountsresponse.md
new file mode 100755
index 000000000..9f8e57872
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listaccountsresponse.md
@@ -0,0 +1,12 @@
+# ListAccountsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `accounts` | [Optional[shared.Accounts]](../../models/shared/accounts.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillattachmentsrequest.md b/sync-for-payables/docs/models/operations/listbillattachmentsrequest.md
new file mode 100755
index 000000000..8f212222e
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillattachmentsrequest.md
@@ -0,0 +1,10 @@
+# ListBillAttachmentsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillattachmentsresponse.md b/sync-for-payables/docs/models/operations/listbillattachmentsresponse.md
new file mode 100755
index 000000000..012ac06da
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillattachmentsresponse.md
@@ -0,0 +1,12 @@
+# ListBillAttachmentsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `attachments` | [Optional[shared.Attachments]](../../models/shared/attachments.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillcreditnotesrequest.md b/sync-for-payables/docs/models/operations/listbillcreditnotesrequest.md
new file mode 100755
index 000000000..604c176d0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillcreditnotesrequest.md
@@ -0,0 +1,12 @@
+# ListBillCreditNotesRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillcreditnotesresponse.md b/sync-for-payables/docs/models/operations/listbillcreditnotesresponse.md
new file mode 100755
index 000000000..50c8c31e0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillcreditnotesresponse.md
@@ -0,0 +1,12 @@
+# ListBillCreditNotesResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bill_credit_notes` | [Optional[shared.BillCreditNotes]](../../models/shared/billcreditnotes.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillpaymentsrequest.md b/sync-for-payables/docs/models/operations/listbillpaymentsrequest.md
new file mode 100755
index 000000000..863795276
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillpaymentsrequest.md
@@ -0,0 +1,12 @@
+# ListBillPaymentsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillpaymentsresponse.md b/sync-for-payables/docs/models/operations/listbillpaymentsresponse.md
new file mode 100755
index 000000000..fb78d3c5b
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillpaymentsresponse.md
@@ -0,0 +1,12 @@
+# ListBillPaymentsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bill_payments` | [Optional[shared.BillPayments]](../../models/shared/billpayments.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillsrequest.md b/sync-for-payables/docs/models/operations/listbillsrequest.md
new file mode 100755
index 000000000..e6a708731
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillsrequest.md
@@ -0,0 +1,12 @@
+# ListBillsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listbillsresponse.md b/sync-for-payables/docs/models/operations/listbillsresponse.md
new file mode 100755
index 000000000..60a6804a5
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listbillsresponse.md
@@ -0,0 +1,12 @@
+# ListBillsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `bills` | [Optional[shared.Bills]](../../models/shared/bills.md) | :heavy_minus_sign: | Success |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listcompaniesrequest.md b/sync-for-payables/docs/models/operations/listcompaniesrequest.md
new file mode 100755
index 000000000..8dfaf69d5
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listcompaniesrequest.md
@@ -0,0 +1,11 @@
+# ListCompaniesRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listcompaniesresponse.md b/sync-for-payables/docs/models/operations/listcompaniesresponse.md
new file mode 100755
index 000000000..506ed1fa1
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listcompaniesresponse.md
@@ -0,0 +1,12 @@
+# ListCompaniesResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `companies` | [Optional[shared.Companies]](../../models/shared/companies.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listconnectionsrequest.md b/sync-for-payables/docs/models/operations/listconnectionsrequest.md
new file mode 100755
index 000000000..1cdcf0879
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listconnectionsrequest.md
@@ -0,0 +1,12 @@
+# ListConnectionsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listconnectionsresponse.md b/sync-for-payables/docs/models/operations/listconnectionsresponse.md
new file mode 100755
index 000000000..68f439c07
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listconnectionsresponse.md
@@ -0,0 +1,12 @@
+# ListConnectionsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `connections` | [Optional[shared.Connections]](../../models/shared/connections.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listjournalsrequest.md b/sync-for-payables/docs/models/operations/listjournalsrequest.md
new file mode 100755
index 000000000..966254ec9
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listjournalsrequest.md
@@ -0,0 +1,12 @@
+# ListJournalsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listjournalsresponse.md b/sync-for-payables/docs/models/operations/listjournalsresponse.md
new file mode 100755
index 000000000..82931e7a0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listjournalsresponse.md
@@ -0,0 +1,12 @@
+# ListJournalsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `journals` | [Optional[shared.Journals]](../../models/shared/journals.md) | :heavy_minus_sign: | Success |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpaymentmethodsrequest.md b/sync-for-payables/docs/models/operations/listpaymentmethodsrequest.md
new file mode 100755
index 000000000..f164f2071
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpaymentmethodsrequest.md
@@ -0,0 +1,12 @@
+# ListPaymentMethodsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpaymentmethodsresponse.md b/sync-for-payables/docs/models/operations/listpaymentmethodsresponse.md
new file mode 100755
index 000000000..a3dcb7679
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpaymentmethodsresponse.md
@@ -0,0 +1,12 @@
+# ListPaymentMethodsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `payment_methods` | [Optional[shared.PaymentMethods]](../../models/shared/paymentmethods.md) | :heavy_minus_sign: | Success |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpulloperationsrequest.md b/sync-for-payables/docs/models/operations/listpulloperationsrequest.md
new file mode 100755
index 000000000..d5a4b553d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpulloperationsrequest.md
@@ -0,0 +1,12 @@
+# ListPullOperationsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpulloperationsresponse.md b/sync-for-payables/docs/models/operations/listpulloperationsresponse.md
new file mode 100755
index 000000000..23240bd20
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpulloperationsresponse.md
@@ -0,0 +1,12 @@
+# ListPullOperationsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `pull_operations` | [Optional[shared.PullOperations]](../../models/shared/pulloperations.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpushoperationsrequest.md b/sync-for-payables/docs/models/operations/listpushoperationsrequest.md
new file mode 100755
index 000000000..bb6141c76
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpushoperationsrequest.md
@@ -0,0 +1,12 @@
+# ListPushOperationsRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listpushoperationsresponse.md b/sync-for-payables/docs/models/operations/listpushoperationsresponse.md
new file mode 100755
index 000000000..db6720eea
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listpushoperationsresponse.md
@@ -0,0 +1,12 @@
+# ListPushOperationsResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `push_operations` | [Optional[shared.PushOperations]](../../models/shared/pushoperations.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listsuppliersrequest.md b/sync-for-payables/docs/models/operations/listsuppliersrequest.md
new file mode 100755
index 000000000..251721c9d
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listsuppliersrequest.md
@@ -0,0 +1,12 @@
+# ListSuppliersRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listsuppliersresponse.md b/sync-for-payables/docs/models/operations/listsuppliersresponse.md
new file mode 100755
index 000000000..d0bc9c436
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listsuppliersresponse.md
@@ -0,0 +1,12 @@
+# ListSuppliersResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `suppliers` | [Optional[shared.Suppliers]](../../models/shared/suppliers.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listtaxratesrequest.md b/sync-for-payables/docs/models/operations/listtaxratesrequest.md
new file mode 100755
index 000000000..82deb55a0
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listtaxratesrequest.md
@@ -0,0 +1,12 @@
+# ListTaxRatesRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listtaxratesresponse.md b/sync-for-payables/docs/models/operations/listtaxratesresponse.md
new file mode 100755
index 000000000..c69404905
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listtaxratesresponse.md
@@ -0,0 +1,12 @@
+# ListTaxRatesResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `tax_rates` | [Optional[shared.TaxRates]](../../models/shared/taxrates.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listtrackingcategoriesrequest.md b/sync-for-payables/docs/models/operations/listtrackingcategoriesrequest.md
new file mode 100755
index 000000000..6ccfdf2ff
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listtrackingcategoriesrequest.md
@@ -0,0 +1,12 @@
+# ListTrackingCategoriesRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `order_by` | *Optional[str]* | :heavy_minus_sign: | Field to order results by. [Read more](https://docs.codat.io/using-the-api/ordering-results). | -modifiedDate |
+| `page` | *Optional[int]* | :heavy_minus_sign: | Page number. [Read more](https://docs.codat.io/using-the-api/paging). | 1 |
+| `page_size` | *Optional[int]* | :heavy_minus_sign: | Number of records to return in a page. [Read more](https://docs.codat.io/using-the-api/paging). | 100 |
+| `query` | *Optional[str]* | :heavy_minus_sign: | Codat query string. [Read more](https://docs.codat.io/using-the-api/querying). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/listtrackingcategoriesresponse.md b/sync-for-payables/docs/models/operations/listtrackingcategoriesresponse.md
new file mode 100755
index 000000000..60f28a160
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/listtrackingcategoriesresponse.md
@@ -0,0 +1,12 @@
+# ListTrackingCategoriesResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `tracking_categories` | [Optional[shared.TrackingCategories]](../../models/shared/trackingcategories.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/refreshalldatatypesrequest.md b/sync-for-payables/docs/models/operations/refreshalldatatypesrequest.md
new file mode 100755
index 000000000..33fb640ed
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/refreshalldatatypesrequest.md
@@ -0,0 +1,8 @@
+# RefreshAllDataTypesRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/refreshalldatatypesresponse.md b/sync-for-payables/docs/models/operations/refreshalldatatypesresponse.md
new file mode 100755
index 000000000..22a543959
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/refreshalldatatypesresponse.md
@@ -0,0 +1,11 @@
+# RefreshAllDataTypesResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/refreshdatatyperequest.md b/sync-for-payables/docs/models/operations/refreshdatatyperequest.md
new file mode 100755
index 000000000..cbefc996f
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/refreshdatatyperequest.md
@@ -0,0 +1,10 @@
+# RefreshDataTypeRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *Optional[str]* | :heavy_minus_sign: | Optionally, provide a data connection id to only queue pull operations on that connection. | |
+| `data_type` | [shared.DataType](../../models/shared/datatype.md) | :heavy_check_mark: | The key of a Codat data type | invoices |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/refreshdatatyperesponse.md b/sync-for-payables/docs/models/operations/refreshdatatyperesponse.md
new file mode 100755
index 000000000..73215c3bd
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/refreshdatatyperesponse.md
@@ -0,0 +1,12 @@
+# RefreshDataTypeResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `pull_operation` | [Optional[shared.PullOperation]](../../models/shared/pulloperation.md) | :heavy_minus_sign: | OK |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/unlinkconnectionrequest.md b/sync-for-payables/docs/models/operations/unlinkconnectionrequest.md
new file mode 100755
index 000000000..2ed1d78dc
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/unlinkconnectionrequest.md
@@ -0,0 +1,10 @@
+# UnlinkConnectionRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- |
+| `request_body` | [Optional[UnlinkConnectionRequestBody]](../../models/operations/unlinkconnectionrequestbody.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/unlinkconnectionrequestbody.md b/sync-for-payables/docs/models/operations/unlinkconnectionrequestbody.md
new file mode 100755
index 000000000..276bf1330
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/unlinkconnectionrequestbody.md
@@ -0,0 +1,8 @@
+# UnlinkConnectionRequestBody
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `status` | *Optional[str]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/unlinkconnectionresponse.md b/sync-for-payables/docs/models/operations/unlinkconnectionresponse.md
new file mode 100755
index 000000000..ced538908
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/unlinkconnectionresponse.md
@@ -0,0 +1,12 @@
+# UnlinkConnectionResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `connection` | [Optional[shared.Connection]](../../models/shared/connection.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatebillcreditnoterequest.md b/sync-for-payables/docs/models/operations/updatebillcreditnoterequest.md
new file mode 100755
index 000000000..08c51ee02
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatebillcreditnoterequest.md
@@ -0,0 +1,13 @@
+# UpdateBillCreditNoteRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `bill_credit_note` | [Optional[shared.BillCreditNote]](../../models/shared/billcreditnote.md) | :heavy_minus_sign: | N/A | |
+| `bill_credit_note_id` | *str* | :heavy_check_mark: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `force_update` | *Optional[bool]* | :heavy_minus_sign: | When updating data in the destination platform Codat checks the `sourceModifiedDate` against the `lastupdated` date from the accounting platform, if they're different Codat will return an error suggesting you should initiate another pull of the data. If this is set to `true` then the update will override this check. | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatebillcreditnoteresponse.md b/sync-for-payables/docs/models/operations/updatebillcreditnoteresponse.md
new file mode 100755
index 000000000..7b71cd72c
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatebillcreditnoteresponse.md
@@ -0,0 +1,12 @@
+# UpdateBillCreditNoteResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `update_bill_credit_note_response` | [Optional[shared.UpdateBillCreditNoteResponse]](../../models/shared/updatebillcreditnoteresponse.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatebillrequest.md b/sync-for-payables/docs/models/operations/updatebillrequest.md
new file mode 100755
index 000000000..5b8799df2
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatebillrequest.md
@@ -0,0 +1,13 @@
+# UpdateBillRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `bill` | [Optional[shared.Bill]](../../models/shared/bill.md) | :heavy_minus_sign: | N/A | |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `force_update` | *Optional[bool]* | :heavy_minus_sign: | When updating data in the destination platform Codat checks the `sourceModifiedDate` against the `lastupdated` date from the accounting platform, if they're different Codat will return an error suggesting you should initiate another pull of the data. If this is set to `true` then the update will override this check. | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatebillresponse.md b/sync-for-payables/docs/models/operations/updatebillresponse.md
new file mode 100755
index 000000000..0d0fac5c3
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatebillresponse.md
@@ -0,0 +1,12 @@
+# UpdateBillResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `update_bill_response` | [Optional[shared.UpdateBillResponse]](../../models/shared/updatebillresponse.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatecompanyrequest.md b/sync-for-payables/docs/models/operations/updatecompanyrequest.md
new file mode 100755
index 000000000..697f00528
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatecompanyrequest.md
@@ -0,0 +1,9 @@
+# UpdateCompanyRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
+| `company_request_body` | [Optional[shared.CompanyRequestBody]](../../models/shared/companyrequestbody.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatecompanyresponse.md b/sync-for-payables/docs/models/operations/updatecompanyresponse.md
new file mode 100755
index 000000000..9b9c51eef
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatecompanyresponse.md
@@ -0,0 +1,12 @@
+# UpdateCompanyResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `company` | [Optional[shared.Company]](../../models/shared/company.md) | :heavy_minus_sign: | OK |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatesupplierrequest.md b/sync-for-payables/docs/models/operations/updatesupplierrequest.md
new file mode 100755
index 000000000..ec967e233
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatesupplierrequest.md
@@ -0,0 +1,13 @@
+# UpdateSupplierRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `supplier` | [Optional[shared.Supplier]](../../models/shared/supplier.md) | :heavy_minus_sign: | N/A | |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `force_update` | *Optional[bool]* | :heavy_minus_sign: | When updating data in the destination platform Codat checks the `sourceModifiedDate` against the `lastupdated` date from the accounting platform, if they're different Codat will return an error suggesting you should initiate another pull of the data. If this is set to `true` then the update will override this check. | |
+| `supplier_id` | *str* | :heavy_check_mark: | Unique identifier for a supplier | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/updatesupplierresponse.md b/sync-for-payables/docs/models/operations/updatesupplierresponse.md
new file mode 100755
index 000000000..ac9a2fd4f
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/updatesupplierresponse.md
@@ -0,0 +1,12 @@
+# UpdateSupplierResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | The request made is not valid. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
+| `update_supplier_response` | [Optional[shared.UpdateSupplierResponse]](../../models/shared/updatesupplierresponse.md) | :heavy_minus_sign: | Success |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/uploadbillattachmentrequest.md b/sync-for-payables/docs/models/operations/uploadbillattachmentrequest.md
new file mode 100755
index 000000000..411b77d07
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/uploadbillattachmentrequest.md
@@ -0,0 +1,11 @@
+# UploadBillAttachmentRequest
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
+| `request_body` | [Optional[UploadBillAttachmentRequestBody]](../../models/operations/uploadbillattachmentrequestbody.md) | :heavy_minus_sign: | N/A | |
+| `bill_id` | *str* | :heavy_check_mark: | Unique identifier for a bill | 13d946f0-c5d5-42bc-b092-97ece17923ab |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/uploadbillattachmentrequestbody.md b/sync-for-payables/docs/models/operations/uploadbillattachmentrequestbody.md
new file mode 100755
index 000000000..6b5939aac
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/uploadbillattachmentrequestbody.md
@@ -0,0 +1,9 @@
+# UploadBillAttachmentRequestBody
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `content` | *bytes* | :heavy_check_mark: | N/A |
+| `request_body` | *str* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/operations/uploadbillattachmentresponse.md b/sync-for-payables/docs/models/operations/uploadbillattachmentresponse.md
new file mode 100755
index 000000000..a43068be5
--- /dev/null
+++ b/sync-for-payables/docs/models/operations/uploadbillattachmentresponse.md
@@ -0,0 +1,11 @@
+# UploadBillAttachmentResponse
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
+| `content_type` | *str* | :heavy_check_mark: | N/A |
+| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
+| `status_code` | *int* | :heavy_check_mark: | N/A |
+| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/account.md b/sync-for-payables/docs/models/shared/account.md
new file mode 100755
index 000000000..9dd0c38eb
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/account.md
@@ -0,0 +1,51 @@
+# Account
+
+> **Language tip:** Accounts are also referred to as **chart of accounts**, **nominal accounts**, and **general ledger**.
+
+View the coverage for accounts in the Data coverage explorer.
+
+## Overview
+
+Accounts are the categories a business uses to record accounting transactions. From the Accounts endpoints, you can retrieve a list of all accounts for a specified company.
+
+The categories for an account include:
+ * Asset
+ * Expense
+ * Income
+ * Liability
+ * Equity.
+
+The same account may have a different category based on the integration it is used in. For example, a current account (known as checking in the US) should be categorized as `Asset.Current` for Xero, and `Asset.Bank.Checking` for QuickBooks Online.
+
+At the same time, each integration may have its own requirements to the categories. For example, a Paypal account in Xero is of the `Asset.Bank` category and therefore requires additional properties to be provided.
+
+To determine the list of allowed categories for a specific integration, you can:
+- Follow our [Create, update, delete data](https://docs.codat.io/using-the-api/push) guide and use the [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).
+- Refer to the integration's own documentation.
+
+> **Accounts with no category**
+>
+> If an account is pulled from the chart of accounts and its nominal code does not lie within the category layout for the company's accounts, then the **type** is `Unknown`. The **fullyQualifiedCategory** and **fullyQualifiedName** fields return `null`.
+>
+> This approach gives a true representation of the company's accounts whilst preventing distorting financials such as a company's profit and loss and balance sheet reports.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `current_balance` | *Optional[float]* | :heavy_minus_sign: | Current balance in the account. | 0 |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Description for the account. | Invoices the business has issued but has not yet collected payment on. |
+| `fully_qualified_category` | *Optional[str]* | :heavy_minus_sign: | Full category of the account.
For example, `Liability.Current` or `Income.Revenue`. To determine a list of possible categories for each integration, see our examples, follow our [Create, update, delete data](https://docs.codat.io/using-the-api/push) guide, or refer to the integration's own documentation. | Asset.Current |
+| `fully_qualified_name` | *Optional[str]* | :heavy_minus_sign: | Full name of the account, for example:
- `Cash On Hand`
- `Rents Held In Trust`
- `Fixed Asset` | Cash On Hand |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the account, unique for the company. | 1b6266d1-1e44-46c5-8eb5-a8f98e03124e |
+| `is_bank_account` | *Optional[bool]* | :heavy_minus_sign: | Confirms whether the account is a bank account or not. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the account. | Accounts Receivable |
+| `nominal_code` | *Optional[str]* | :heavy_minus_sign: | Reference given to each nominal account for a business. It ensures money is allocated to the correct account. This code isn't a unique identifier in the Codat system. | 610 |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [Optional[AccountStatus]](../../models/shared/accountstatus.md) | :heavy_minus_sign: | Status of the account | Active |
+| `type` | [Optional[AccountType]](../../models/shared/accounttype.md) | :heavy_minus_sign: | Type of account | Asset |
+| `valid_datatype_links` | list[[AccountValidDataTypeLinks](../../models/shared/accountvaliddatatypelinks.md)] | :heavy_minus_sign: | The validDatatypeLinks can be used to determine whether an account can be correctly mapped to another object; for example, accounts with a `type` of `income` might only support being used on an Invoice and Direct Income. For more information, see [Valid Data Type Links](/accounting-api#/schemas/ValidDataTypeLinks). | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accountingaddresstype.md b/sync-for-payables/docs/models/shared/accountingaddresstype.md
new file mode 100755
index 000000000..ab6961bcd
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accountingaddresstype.md
@@ -0,0 +1,12 @@
+# AccountingAddressType
+
+The type of the address
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `BILLING` | Billing |
+| `DELIVERY` | Delivery |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accountref.md b/sync-for-payables/docs/models/shared/accountref.md
new file mode 100755
index 000000000..167b8047c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accountref.md
@@ -0,0 +1,11 @@
+# AccountRef
+
+Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- |
+| `id` | *Optional[str]* | :heavy_minus_sign: | 'id' from the Accounts data type. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | 'name' from the Accounts data type. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accounts.md b/sync-for-payables/docs/models/shared/accounts.md
new file mode 100755
index 000000000..b75102877
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accounts.md
@@ -0,0 +1,14 @@
+# Accounts
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Account](../../models/shared/account.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accountstatus.md b/sync-for-payables/docs/models/shared/accountstatus.md
new file mode 100755
index 000000000..bd4cf2f26
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accountstatus.md
@@ -0,0 +1,13 @@
+# AccountStatus
+
+Status of the account
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
+| `PENDING` | Pending |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accounttype.md b/sync-for-payables/docs/models/shared/accounttype.md
new file mode 100755
index 000000000..f9c49f991
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accounttype.md
@@ -0,0 +1,15 @@
+# AccountType
+
+Type of account
+
+
+## Values
+
+| Name | Value |
+| ----------- | ----------- |
+| `UNKNOWN` | Unknown |
+| `ASSET` | Asset |
+| `EXPENSE` | Expense |
+| `INCOME` | Income |
+| `LIABILITY` | Liability |
+| `EQUITY` | Equity |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/accountvaliddatatypelinks.md b/sync-for-payables/docs/models/shared/accountvaliddatatypelinks.md
new file mode 100755
index 000000000..682687d7a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/accountvaliddatatypelinks.md
@@ -0,0 +1,50 @@
+# AccountValidDataTypeLinks
+
+When querying Codat's data model, some data types return `validDatatypeLinks` metadata in the JSON response. This indicates where that object can be used as a reference—a _valid link_—when creating or updating other data.
+
+For example, `validDatatypeLinks` might indicate the following references:
+
+- Which tax rates are valid to use on the line item of a bill.
+- Which items can be used when creating an invoice.
+
+You can use `validDatatypeLinks` to present your SMB customers with only valid choices when selecting objects from a list, for example.
+
+## `validDatatypeLinks` example
+
+The following example uses the `Accounting.Accounts` data type. It shows that, on the linked integration, this account is valid as the account on a payment or bill payment; and as the account referenced on the line item of a direct income or direct cost. Because there is no valid link to Invoices or Bills, using this account on those data types will result in an error.
+
+```json validDatatypeLinks for an account
+{
+ "id": "bd9e85e0-0478-433d-ae9f-0b3c4f04bfe4",
+ "nominalCode": "090",
+ "name": "Business Bank Account",
+ #...
+ "validDatatypeLinks": [
+ {
+ "property": "Id",
+ "links": [
+ "Payment.AccountRef.Id",
+ "BillPayment.AccountRef.Id",
+ "DirectIncome.LineItems.AccountRef.Id",
+ "DirectCost.LineItems.AccountRef.Id"
+ ]
+ }
+ ]
+ }
+```
+
+
+
+## Support for `validDatatypeLinks`
+
+Codat currently supports `validDatatypeLinks` for some data types on our Xero, QuickBooks Online, QuickBooks Desktop, Exact (NL), and Sage Business Cloud integrations.
+
+If you'd like us to extend support to more data types or integrations, suggest or vote for this on our Product Roadmap.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
+| `links` | list[*str*] | :heavy_minus_sign: | Supported `dataTypes` that the record can be linked to. |
+| `property` | *Optional[str]* | :heavy_minus_sign: | The property from the account that can be linked. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/attachment.md b/sync-for-payables/docs/models/shared/attachment.md
new file mode 100755
index 000000000..4c1b0de1c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/attachment.md
@@ -0,0 +1,34 @@
+# Attachment
+
+The Codat API supports pulling and pushing of file attachments for invoices, bills, direct costs, and direct incomes.
+
+> **Retrieving attachments**
+>
+> If a company is authorized, you can query the Codat API to read, download, and upload attachments without requiring a fresh sync of data.
+
+Unlike other data types, Codat doesn't support sync settings for attachments.
+
+Note that different integrations have different requirements to file size and extension of attachments.
+
+| Integration | File size | File extension |
+|-------------------|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------|
+| Xero | 4 MB | 7Z, BMP, CSV, DOC, DOCX, EML, GIF, JPEG, JPG, KEYNOTE, MSG, NUMBERS, ODF, ODS, ODT, PAGES, PDF, PNG, PPT, PPTX, RAR, RTF, TIF, TIFF, TXT, XLS, XLSX, ZIP |
+| QuickBooks Online | 100 MB | AI, CSV, DOC, DOCX, EPS, GIF, JPEG, JPG, ODS, PAGES, PDF, PNG, RTF, TIF, TXT, XLS, XLSX, XML |
+| NetSuite | 100 MB | BMP, CSV, XLS, XLSX, JSON, PDF, PJPG, PJPEG, PNG, TXT, SVG, TIF, TIFF, DOC, DOCX, ZIP |
+
+View the coverage for accounts in the Data coverage explorer.
+
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `content_type` | *Optional[str]* | :heavy_minus_sign: | File type of the attachment. This is represented by appending the file type to the [IETF standard file naming requirements](https://tools.ietf.org/html/rfc6838). For example, for a jpeg file the output is **image/jpeg**.
Supported file types vary per platform. | |
+| `date_created` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `file_size` | *Optional[int]* | :heavy_minus_sign: | File size in bytes. For example, if this reads **46153**, then the file size is 46kb. | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the attachment, unique for the company in the accounting platform. | |
+| `include_when_sent` | *Optional[bool]* | :heavy_minus_sign: | If `true`, then the attachment is included with the associated invoice, bill or direct costs when it is printed, emailed, or sent to a customer, if the underlying accounting platform allows this. | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the attachment file. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/attachments.md b/sync-for-payables/docs/models/shared/attachments.md
new file mode 100755
index 000000000..6c2c43ec8
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/attachments.md
@@ -0,0 +1,10 @@
+# Attachments
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
+| `attachments` | list[[Attachment](../../models/shared/attachment.md)] | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/bill.md b/sync-for-payables/docs/models/shared/bill.md
new file mode 100755
index 000000000..c1efc5df8
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/bill.md
@@ -0,0 +1,48 @@
+# Bill
+
+> **Invoices or bills?**
+>
+> We distinguish between invoices where the company *owes money* vs. *is owed money*. If the company has received an invoice, and owes money to someone else (accounts payable) we call this a Bill.
+>
+> See [Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) for the accounts receivable equivalent of bills.
+
+View the coverage for bills in the Data coverage explorer.
+
+## Overview
+
+In Codat, a bill contains details of:
+* When the bill was recorded in the accounting system.
+* How much the bill is for and the currency of the amount.
+* Who the bill was received from — the *supplier*.
+* What the bill is for — the *line items*.
+
+Some accounting platforms give a separate name to purchases where the payment is made immediately, such as something bought with a credit card or online payment. One example of this would be QuickBooks Online's *expenses*.
+
+You can find these types of transactions in our [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) data model.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `amount_due` | *Optional[float]* | :heavy_minus_sign: | Amount outstanding on the bill. | |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `due_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the bill, unique for the company in the accounting platform. | |
+| `issue_date` | *str* | :heavy_check_mark: | N/A | 2022-10-23T00:00:00.000Z |
+| `line_items` | list[[BillLineItem](../../models/shared/billlineitem.md)] | :heavy_minus_sign: | Array of Bill line items. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `note` | *Optional[str]* | :heavy_minus_sign: | Any private, company notes about the bill, such as payment information. | |
+| `payment_allocations` | list[[BillPaymentAllocation](../../models/shared/billpaymentallocation.md)] | :heavy_minus_sign: | An array of payment allocations. | |
+| `purchase_order_refs` | list[[BillPurchaseOrderReference](../../models/shared/billpurchaseorderreference.md)] | :heavy_minus_sign: | N/A | |
+| `reference` | *Optional[str]* | :heavy_minus_sign: | User-friendly reference for the bill. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [BillStatus](../../models/shared/billstatus.md) | :heavy_check_mark: | Current state of the bill. | |
+| `sub_total` | *float* | :heavy_check_mark: | Total amount of the bill, excluding any taxes. | |
+| `supplemental_data` | [Optional[BillSupplementalData]](../../models/shared/billsupplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.
It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data. | |
+| `supplier_ref` | [Optional[SupplierRef]](../../models/shared/supplierref.md) | :heavy_minus_sign: | Reference to the supplier the record relates to. | |
+| `tax_amount` | *float* | :heavy_check_mark: | Amount of tax on the bill. | |
+| `total_amount` | *float* | :heavy_check_mark: | Amount of the bill, including tax. | |
+| `withholding_tax` | list[[BillWithholdingTax](../../models/shared/billwithholdingtax.md)] | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnote.md b/sync-for-payables/docs/models/shared/billcreditnote.md
new file mode 100755
index 000000000..e07b1a8ff
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnote.md
@@ -0,0 +1,46 @@
+# BillCreditNote
+
+> **Bill credit notes or credit notes?**
+>
+> In Codat, bill credit notes represent accounts payable only. For accounts receivable, see [Credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote).
+
+View the coverage for bill credit notes in the Data coverage explorer.
+
+## Overview
+
+A bill credit note is issued by a supplier for the purpose of recording credit. For example, if a supplier was unable to fulfil an order that was placed by a business, or delivered damaged goods, they would issue a bill credit note. A bill credit note reduces the amount a business owes to the supplier. It can be refunded to the business or used to pay off future bills.
+
+In the Codat API, a bill credit note is an accounts payable record issued by a [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier).
+
+A bill credit note includes details of:
+* The original and remaining credit.
+* Any allocations of the credit against other records, such as [bills](https://docs.codat.io/accounting-api#/schemas/Bill).
+* The supplier that issued the bill credit note.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `allocated_on_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `bill_credit_note_number` | *Optional[str]* | :heavy_minus_sign: | Friendly reference for the bill credit note. | 91fe2a83-e161-4c21-929d-c5c10c4b07e5 |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `discount_percentage` | *float* | :heavy_check_mark: | Percentage rate of any discount applied to the bill credit note. | 0 |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the bill credit note that is unique to a company in the accounting platform. | 1509398f-98e2-436d-8a5d-c042e0c74ffc |
+| `issue_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `line_items` | list[[BillCreditNoteLineItem](../../models/shared/billcreditnotelineitem.md)] | :heavy_minus_sign: | An array of line | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `note` | *Optional[str]* | :heavy_minus_sign: | Any additional information about the bill credit note. | Bill Credit Note with 1 line items, totaling 805.78 |
+| `payment_allocations` | list[[Items](../../models/shared/items.md)] | :heavy_minus_sign: | An array of payment allocations. | |
+| `remaining_credit` | *Optional[float]* | :heavy_minus_sign: | Amount of the bill credit note that is still outstanding. | 0 |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [BillCreditNoteStatus](../../models/shared/billcreditnotestatus.md) | :heavy_check_mark: | Current state of the bill credit note | Paid |
+| `sub_total` | *float* | :heavy_check_mark: | Total amount of the bill credit note, including discounts but excluding tax. | 805.78 |
+| `supplemental_data` | [Optional[SupplementalData]](../../models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.
It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data. | |
+| `supplier_ref` | [Optional[SupplierRef]](../../models/shared/supplierref.md) | :heavy_minus_sign: | Reference to the supplier the record relates to. | |
+| `total_amount` | *float* | :heavy_check_mark: | Total amount of credit that has been applied to the business' account with the supplier, including discounts and tax. | 805.78 |
+| `total_discount` | *float* | :heavy_check_mark: | Total value of any discounts applied. | 0 |
+| `total_tax_amount` | *float* | :heavy_check_mark: | Amount of tax included in the bill credit note. | 0 |
+| `withholding_tax` | list[[WithholdingTaxitems](../../models/shared/withholdingtaxitems.md)] | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotelineitem.md b/sync-for-payables/docs/models/shared/billcreditnotelineitem.md
new file mode 100755
index 000000000..227c72b63
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotelineitem.md
@@ -0,0 +1,20 @@
+# BillCreditNoteLineItem
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `account_ref` | [Optional[AccountRef]](../../models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Friendly name of each line item. For example, the goods or service for which credit has been received. |
+| `discount_amount` | *Optional[float]* | :heavy_minus_sign: | Value of any discounts applied. |
+| `discount_percentage` | *Optional[float]* | :heavy_minus_sign: | Percentage rate of any discount applied to the line item. |
+| `item_ref` | [Optional[BillCreditNoteLineItemItemReference]](../../models/shared/billcreditnotelineitemitemreference.md) | :heavy_minus_sign: | Reference to the item the line is linked to. |
+| `quantity` | *float* | :heavy_check_mark: | Number of units of the goods or service for which credit has been received. |
+| `sub_total` | *Optional[float]* | :heavy_minus_sign: | Amount of credit associated with the line item, including discounts but excluding tax. |
+| `tax_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of tax associated with the line item. |
+| `tax_rate_ref` | [Optional[TaxRateRef]](../../models/shared/taxrateref.md) | :heavy_minus_sign: | Data types that reference a tax rate, for example invoice and bill line items, use a taxRateRef that includes the ID and name of the linked tax rate.
Found on:
- Bill line items
- Bill Credit Note line items
- Credit Note line items
- Direct incomes line items
- Invoice line items
- Items |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Total amount of the line item, including discounts and tax. |
+| `tracking` | [Optional[BillCreditNoteLineItemTracking]](../../models/shared/billcreditnotelineitemtracking.md) | :heavy_minus_sign: | Categories, and a project and customer, against which the item is tracked. |
+| ~~`tracking_category_refs`~~ | list[[TrackingCategoryRef](../../models/shared/trackingcategoryref.md)] | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.
Reference to the tracking categories to which the line item is linked. |
+| `unit_amount` | *float* | :heavy_check_mark: | Unit price of the goods or service. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotelineitemitemreference.md b/sync-for-payables/docs/models/shared/billcreditnotelineitemitemreference.md
new file mode 100755
index 000000000..aa9e225c3
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotelineitemitemreference.md
@@ -0,0 +1,11 @@
+# BillCreditNoteLineItemItemReference
+
+Reference to the item the line is linked to.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
+| `id` | *str* | :heavy_check_mark: | Unique identifier for the item in the accounting platform. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the item in the accounting platform. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotelineitemtracking.md b/sync-for-payables/docs/models/shared/billcreditnotelineitemtracking.md
new file mode 100755
index 000000000..68d244a98
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotelineitemtracking.md
@@ -0,0 +1,14 @@
+# BillCreditNoteLineItemTracking
+
+Categories, and a project and customer, against which the item is tracked.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
+| `category_refs` | list[[TrackingCategoryRef](../../models/shared/trackingcategoryref.md)] | :heavy_check_mark: | N/A |
+| `customer_ref` | [Optional[BillCreditNoteLineItemTrackingCustomerRef]](../../models/shared/billcreditnotelineitemtrackingcustomerref.md) | :heavy_minus_sign: | N/A |
+| `is_billed_to` | [BilledToType](../../models/shared/billedtotype.md) | :heavy_check_mark: | N/A |
+| `is_rebilled_to` | [BilledToType](../../models/shared/billedtotype.md) | :heavy_check_mark: | N/A |
+| `project_ref` | [Optional[BillCreditNoteLineItemTrackingProjectRef]](../../models/shared/billcreditnotelineitemtrackingprojectref.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingcustomerref.md b/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingcustomerref.md
new file mode 100755
index 000000000..1b4257445
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingcustomerref.md
@@ -0,0 +1,9 @@
+# BillCreditNoteLineItemTrackingCustomerRef
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ |
+| `company_name` | *Optional[str]* | :heavy_minus_sign: | `customerName` from the Customer data type |
+| `id` | *str* | :heavy_check_mark: | `id` from the Customers data type |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingprojectref.md b/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingprojectref.md
new file mode 100755
index 000000000..922aa48ff
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotelineitemtrackingprojectref.md
@@ -0,0 +1,9 @@
+# BillCreditNoteLineItemTrackingProjectRef
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `id` | *str* | :heavy_check_mark: | N/A |
+| `name` | *Optional[str]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotes.md b/sync-for-payables/docs/models/shared/billcreditnotes.md
new file mode 100755
index 000000000..5f5476a5c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotes.md
@@ -0,0 +1,14 @@
+# BillCreditNotes
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[BillCreditNote](../../models/shared/billcreditnote.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billcreditnotestatus.md b/sync-for-payables/docs/models/shared/billcreditnotestatus.md
new file mode 100755
index 000000000..d741e549d
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billcreditnotestatus.md
@@ -0,0 +1,15 @@
+# BillCreditNoteStatus
+
+Current state of the bill credit note
+
+
+## Values
+
+| Name | Value |
+| ---------------- | ---------------- |
+| `UNKNOWN` | Unknown |
+| `DRAFT` | Draft |
+| `SUBMITTED` | Submitted |
+| `PAID` | Paid |
+| `VOID` | Void |
+| `PARTIALLY_PAID` | PartiallyPaid |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billedtotype.md b/sync-for-payables/docs/models/shared/billedtotype.md
new file mode 100755
index 000000000..3b49db591
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billedtotype.md
@@ -0,0 +1,11 @@
+# BilledToType
+
+
+## Values
+
+| Name | Value |
+| ---------------- | ---------------- |
+| `UNKNOWN` | Unknown |
+| `NOT_APPLICABLE` | NotApplicable |
+| `CUSTOMER` | Customer |
+| `PROJECT` | Project |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billlineitem.md b/sync-for-payables/docs/models/shared/billlineitem.md
new file mode 100755
index 000000000..c349a269c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billlineitem.md
@@ -0,0 +1,21 @@
+# BillLineItem
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `account_ref` | [Optional[AccountRef]](../../models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Friendly name of the goods or services received. |
+| `discount_amount` | *Optional[float]* | :heavy_minus_sign: | Numerical value of any discounts applied.
Do not use to apply discounts in Oracle NetSuite—see Oracle NetSuite integration reference. |
+| `discount_percentage` | *Optional[float]* | :heavy_minus_sign: | N/A |
+| `is_direct_cost` | *Optional[bool]* | :heavy_minus_sign: | N/A |
+| `item_ref` | [Optional[ItemRef]](../../models/shared/itemref.md) | :heavy_minus_sign: | Reference to the item the line is linked to. |
+| `quantity` | *float* | :heavy_check_mark: | Number of units of goods or services received. |
+| `sub_total` | *Optional[float]* | :heavy_minus_sign: | Amount of the line, inclusive of discounts but exclusive of tax. |
+| `tax_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of tax for the line. |
+| `tax_rate_ref` | [Optional[TaxRateRef]](../../models/shared/taxrateref.md) | :heavy_minus_sign: | Data types that reference a tax rate, for example invoice and bill line items, use a taxRateRef that includes the ID and name of the linked tax rate.
Found on:
- Bill line items
- Bill Credit Note line items
- Credit Note line items
- Direct incomes line items
- Invoice line items
- Items |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Total amount of the line, including tax. |
+| `tracking` | [Optional[Tracking]](../../models/shared/tracking.md) | :heavy_minus_sign: | Categories, and a project and customer, against which the item is tracked. |
+| `tracking_category_refs` | list[[TrackingCategoryRef](../../models/shared/trackingcategoryref.md)] | :heavy_minus_sign: | Collection of categories against which this item is tracked. |
+| `unit_amount` | *float* | :heavy_check_mark: | Price of each unit of goods or services. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpayment.md b/sync-for-payables/docs/models/shared/billpayment.md
new file mode 100755
index 000000000..b68054e92
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpayment.md
@@ -0,0 +1,174 @@
+# BillPayment
+
+> **Bill payments or payments?**
+>
+> We distinguish between transactions where the company received money vs. paid money. If the transaction represents a company spending money (accounts payable) we call this a Bill payment.
+>
+> See [payments](https://docs.codat.io/accounting-api#/schemas/Payment) for the accounts receivable equivalent of Bill payments, which covers [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) and [credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote).
+
+> View the coverage for bill payments in the Data coverage explorer.
+
+## Overview
+
+Bill payments include all accounts payable transaction data ([bills](https://docs.codat.io/accounting-api#/schemas/Bill) and [credit notes against bills](https://docs.codat.io/accounting-api#/schemas/BillCreditNote)).
+
+A bill payment in Codat usually represents an allocation of money within any customer accounts payable account. This includes, but is not strictly limited to:
+
+- A payment made against a bill — for example, a credit card payment, cheque payment, or cash payment.
+- An allocation of a supplier's credit note to a bill or perhaps a refund.
+- A bill payment made directly to an accounts payable account. This could be an overpayment or a prepayment, or a refund of a payment made directly to an accounts payable account.
+
+Depending on the bill payments which are allowed by the underlying accounting package, some of these types may be combined. Please see the example data section for samples of what these cases look like.
+
+In Codat, a bill payment contains details of:
+
+- When the bill payment was recorded in the accounting system.
+- How much it is for and in the currency.
+- Who the payment has been paid to, the _supplier_.
+- The types of bill payments, the _line items_.
+
+Some accounting platforms give a separate name to purchases where the payment is made immediately, such as something bought with a credit card or online payment. One example of this would be QuickBooks Online's _expenses_. You can find these types of transactions in our [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) data model.
+
+Bill payments is a child data type of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).
+
+---
+
+## Bill payment types
+
+### Payment of a bill
+
+A payment paying a single bill should have the following properties:
+
+- A `totalAmount` indicating the amount of the bill that was paid. This is always positive.
+- A `lines` array containing one element with the following properties:
+ - An `amount` equal to the `totalAmount` above.
+ - A `links` array containing one element with the following properties:
+ - A `type` indicating the type of link, in this case a `Bill`.
+ - An `id` containing the ID of the bill that was paid.
+ - An amount of `-totalAmount` (negative `totalAmount`), indicating that the entirety of the paid amount is allocated to the bill.
+
+### Payment of multiple bills
+
+It is possible for one payment to pay multiple bills. This can be represented using two possible formats, depending on how the supplier keeps their books:
+
+1. The payment has multiple entries in its **lines** array, one for each bill that is paid. Each line will follow the above example for paying a bill, and the rules detailed in the data model.
+2. The payment has a line with multiple links to each bill. This occurs when the proportion of the original payment allocated to each bill is not available.
+
+Each line is the same as those described above, with the **amount** indicating how much of the payment is allocated to the bill. The **amount** on the lines sum to the **totalAmount** on the payment.
+
+> Pushing batch payments to Xero
+>
+> When pushing a single bill payment to Xero to pay multiple bills, only the first format is supported—multiple entries in the payment **lines** array.
+
+### Payments and refunds on account
+
+A payment on account, that is a payment that doesn’t pay a specific bill, has one entry in its lines array.
+
+The line has the following properties:
+
+- A **totalAmount** indicating the amount paid by a supplier or refunded to them by a company. A payment to the supplier is always negative. A refund is always positive.
+- A **links** array containing one element with the following properties:
+ - A **type** indicating the type of link. For a payment this is `PaymentOnAccount`. For a refund this is `Refund`.
+ - The **id** containing the ID of the supplier.
+ - An amount for the link is `0` **totalAmount** or the amount of the payment or refund.
+
+It is possible to have a payment that is part on account and part allocated to a bill. Each line should follow the examples above.
+
+### Using a credit note to pay a bill
+
+The payment of a bill using a credit note has one entry in its `lines` array. This **line** has the following properties:
+
+- An **amount** indicating the amount of money moved, which in this case is `0`, as the credit note and bill allocation must balance each other.
+- A **links** array containing two elements:
+ - The first link has:
+ - A **type** indicating the type of link, in this case a `Bill`.
+ - An **id** containing the ID of the bill that was paid.
+ - The second link has:
+ - A **type** indicating the type of link, in this case a `CreditNote`.
+ - An **id** containing the ID of the credit note used by this payment.
+
+The **amount** field on the **line** equals the **totalAmount** on the payment.
+
+### Refunding a credit note
+
+A bill payment refunding a credit note has one entry in its **lines** array. This line has the following properties:
+
+- An **amount** indicating the amount of the credit note that was refunded. This is always negative, indicating that it is a refund.
+- A **links** array containing one element with the following properties:
+ - A **type** indicating the type of `link`, in this case a `CreditNote`.
+ - An **id** containing the ID of the credit note that was refunded.
+
+The **totalAmount** field on the payment equals the line's **amount** field. These are both negative, as this is money leaving accounts payable.
+
+### Refunding a payment
+
+If a payment is refunded, for example, when a company overpaid a bill and the overpayment is returned, there are two payment records:
+
+- One for the incoming overpayment.
+- Another for the outgoing refund.
+
+The payment issuing the refund is identified by the fact that the **totalAmount** is negative. This payment has one entry in its lines array that have the following properties:
+
+- An **amount** indicating the amount that was refunded. This is always negative.
+- A **links** array containing one element with the following properties:
+ - A **type** indicating the type of a the link, in this case a `BillPayment`.
+ - An **id** containing the ID of the payment that was refunded.
+
+The **amount** field on the line equals the **totalAmount** on the payment and is negative as this is money leaving accounts payable.
+
+The payment that was refunded can be identified as it has a line where the `amount` on its `line` is positive and the type of the link is `Refund`. This payment may have several entries in its **lines** array if it was partly used to pay an bill. For example, a £1,050 payment paying a £1,000 bill with a refund of £50 has two lines:
+
+- One for £1,000 linked to the bill that was paid
+- Another for £50 linked to the payment that refunded the over payment. This link is of type `Refund` but the ID corresponds to a bill payment.
+
+The line linked to the bill payment has the following properties:
+
+- An **amount** indicating the amount that was refunded. This is positive as its money that was added to accounts payable, but is balanced out by the negative amount of the refund.
+- A **links** array containing one element with the following properties:
+ - A **type** indicating the type of the link, in this case a `Refund`.
+ - An **id** containing the ID of the payment that refunded this line.
+
+> Linked payments
+>
+> Not all accounting packages support linked payments in this way. In these platforms you may see a payment on account and a refund on account.
+
+## Foreign currencies
+
+There are two types of currency rate that are detailed in the bill payments data type:
+
+Payment currency rate:
+
+- Base currency of the accounts payable account.
+- Foreign currency of the bill payment.
+
+Payment line link currency rate:
+
+- Base currency of the item that the link represents.
+- Foreign currency of the payment.
+
+These two rates allow the calculation of currency loss or gain for any of the transactions affected by the payment lines. The second rate is used when a bill payment is applied to an item in a currency that does not match either:
+
+- The base currency for the accounts payable account.
+- The currency of the item.
+
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `account_ref` | [Optional[AccountRef]](../../models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. | |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | N/A | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `date_` | *str* | :heavy_check_mark: | N/A | 2022-10-23T00:00:00.000Z |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the bill payment, unique for the company in the accounting platform. | 3d5a8e00-d108-4045-8823-7f342676cffa |
+| `lines` | list[[BillPaymentLine](../../models/shared/billpaymentline.md)] | :heavy_minus_sign: | An array of bill payment lines. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `note` | *Optional[str]* | :heavy_minus_sign: | Additional information associated with the payment. | Bill Payment against bill c13e37b6-dfaa-4894-b3be-9fe97bda9f44 |
+| `payment_method_ref` | *Optional[Any]* | :heavy_minus_sign: | N/A | |
+| `reference` | *Optional[str]* | :heavy_minus_sign: | Additional information associated with the payment. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `supplemental_data` | [Optional[SupplementalData]](../../models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.
It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data. | |
+| `supplier_ref` | [Optional[SupplierRef]](../../models/shared/supplierref.md) | :heavy_minus_sign: | N/A | |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Amount of the payment in the payment currency. This value never changes and represents the amount of money that is paid into the supplier's account. | 1329.54 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpaymentallocation.md b/sync-for-payables/docs/models/shared/billpaymentallocation.md
new file mode 100755
index 000000000..7d45ae096
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpaymentallocation.md
@@ -0,0 +1,9 @@
+# BillPaymentAllocation
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
+| `allocation` | [BillPaymentAllocationAllocation](../../models/shared/billpaymentallocationallocation.md) | :heavy_check_mark: | N/A |
+| `payment` | [PaymentAllocationPayment](../../models/shared/paymentallocationpayment.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpaymentallocationallocation.md b/sync-for-payables/docs/models/shared/billpaymentallocationallocation.md
new file mode 100755
index 000000000..8dcf326ba
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpaymentallocationallocation.md
@@ -0,0 +1,11 @@
+# BillPaymentAllocationAllocation
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `allocated_on_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | The total amount that has been allocated. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpaymentline.md b/sync-for-payables/docs/models/shared/billpaymentline.md
new file mode 100755
index 000000000..7548a4682
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpaymentline.md
@@ -0,0 +1,10 @@
+# BillPaymentLine
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `allocated_on_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `amount` | *float* | :heavy_check_mark: | Amount in the bill payment currency. | |
+| `links` | list[[BillPaymentLineLink](../../models/shared/billpaymentlinelink.md)] | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpaymentlinelink.md b/sync-for-payables/docs/models/shared/billpaymentlinelink.md
new file mode 100755
index 000000000..2e91fbc78
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpaymentlinelink.md
@@ -0,0 +1,11 @@
+# BillPaymentLineLink
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `amount` | *Optional[float]* | :heavy_minus_sign: | Amount by which the balance of the linked entity is altered, in the currency of the linked entity.
- A negative link amount reduces the outstanding amount on the accounts payable account.
- A positive link amount increases the outstanding amount on the accounts payable account. |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the transaction represented by the link. |
+| `type` | [BillPaymentLineLinkType](../../models/shared/billpaymentlinelinktype.md) | :heavy_check_mark: | Types of links to bill payment lines. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpaymentlinelinktype.md b/sync-for-payables/docs/models/shared/billpaymentlinelinktype.md
new file mode 100755
index 000000000..2f099d0a9
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpaymentlinelinktype.md
@@ -0,0 +1,19 @@
+# BillPaymentLineLinkType
+
+Types of links to bill payment lines.
+
+
+## Values
+
+| Name | Value |
+| -------------------- | -------------------- |
+| `UNKNOWN` | Unknown |
+| `UNLINKED` | Unlinked |
+| `BILL` | Bill |
+| `OTHER` | Other |
+| `CREDIT_NOTE` | CreditNote |
+| `BILL_PAYMENT` | BillPayment |
+| `PAYMENT_ON_ACCOUNT` | PaymentOnAccount |
+| `REFUND` | Refund |
+| `MANUAL_JOURNAL` | ManualJournal |
+| `DISCOUNT` | Discount |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpayments.md b/sync-for-payables/docs/models/shared/billpayments.md
new file mode 100755
index 000000000..18b2cc4b9
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpayments.md
@@ -0,0 +1,14 @@
+# BillPayments
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- | ------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[BillPayment](../../models/shared/billpayment.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billpurchaseorderreference.md b/sync-for-payables/docs/models/shared/billpurchaseorderreference.md
new file mode 100755
index 000000000..0a79f98c9
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billpurchaseorderreference.md
@@ -0,0 +1,9 @@
+# BillPurchaseOrderReference
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the purchase order, unique for the company in the accounting platform. |
+| `purchase_order_number` | *Optional[str]* | :heavy_minus_sign: | Friendly reference for the purchase order, commonly generated by the accounting platform. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/bills.md b/sync-for-payables/docs/models/shared/bills.md
new file mode 100755
index 000000000..4e633e5b6
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/bills.md
@@ -0,0 +1,14 @@
+# Bills
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Bill](../../models/shared/bill.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billstatus.md b/sync-for-payables/docs/models/shared/billstatus.md
new file mode 100755
index 000000000..ca6f368d6
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billstatus.md
@@ -0,0 +1,15 @@
+# BillStatus
+
+Current state of the bill.
+
+
+## Values
+
+| Name | Value |
+| ---------------- | ---------------- |
+| `UNKNOWN` | Unknown |
+| `OPEN` | Open |
+| `PARTIALLY_PAID` | PartiallyPaid |
+| `PAID` | Paid |
+| `VOID` | Void |
+| `DRAFT` | Draft |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billsupplementaldata.md b/sync-for-payables/docs/models/shared/billsupplementaldata.md
new file mode 100755
index 000000000..736ce1cda
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billsupplementaldata.md
@@ -0,0 +1,12 @@
+# BillSupplementalData
+
+Supplemental data is additional data you can include in our standard data types.
+
+It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------- | --------------------------- | --------------------------- | --------------------------- |
+| `content` | dict[str, dict[str, *Any*]] | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/billwithholdingtax.md b/sync-for-payables/docs/models/shared/billwithholdingtax.md
new file mode 100755
index 000000000..a2b842658
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/billwithholdingtax.md
@@ -0,0 +1,9 @@
+# BillWithholdingTax
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `amount` | *float* | :heavy_check_mark: | N/A |
+| `name` | *str* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/companies.md b/sync-for-payables/docs/models/shared/companies.md
new file mode 100755
index 000000000..621899fbb
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/companies.md
@@ -0,0 +1,14 @@
+# Companies
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Company](../../models/shared/company.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/company.md b/sync-for-payables/docs/models/shared/company.md
new file mode 100755
index 000000000..b510ea5dd
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/company.md
@@ -0,0 +1,22 @@
+# Company
+
+In Codat, a company represents a business sharing access to their data. Each company can have multiple [connections](https://docs.codat.io/sync-for-payables-api#/schemas/Connection) to different data sources such as one connection to [Xero](https://docs.codat.io/integrations/accounting/xero/accounting-xero) for accounting data, two connections to [Plaid](https://docs.codat.io/integrations/banking/plaid/banking-plaid) for two bank accounts and a connection to [Zettle](https://docs.codat.io/integrations/commerce/zettle/commerce-zettle) for POS data.
+
+Typically each company is one of your customers.
+
+When you create a company, you can specify a `name` and we will automatically generate a unique `id` for the company. You can also add a `description` to store any additional information about the company.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `created` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `created_by_user_name` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `data_connections` | list[[Connection](../../models/shared/connection.md)] | :heavy_minus_sign: | N/A | |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
+| `id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `last_sync` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `name` | *str* | :heavy_check_mark: | The name of the company | Codat Ltd. |
+| ~~`platform`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | Xero |
+| `redirect` | *str* | :heavy_check_mark: | The `redirect` [Link URL](https://docs.codat.io/auth-flow/authorize-hosted-link) enabling the customer to start their auth flow journey for the company. | https://link.codat.io/company/27628208-459c-46a2-a705-5641ce25f739 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/companyrequestbody.md b/sync-for-payables/docs/models/shared/companyrequestbody.md
new file mode 100755
index 000000000..339e136ce
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/companyrequestbody.md
@@ -0,0 +1,9 @@
+# CompanyRequestBody
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Additional information about the company. This can be used to store foreign IDs, references, etc. | Requested early access to the new financing scheme. |
+| `name` | *str* | :heavy_check_mark: | Name of company being connected. | Bank of Dave |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/connection.md b/sync-for-payables/docs/models/shared/connection.md
new file mode 100755
index 000000000..ebee43853
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/connection.md
@@ -0,0 +1,31 @@
+# Connection
+
+A connection represents a [company's](https://docs.codat.io/sync-for-payables-api#/schemas/Company) connection to a data source and allows you to synchronize data (pull and/or push) with that source.
+
+A company can have multiple data connections depending on the type of data source it is connecting to. For example, a single company can link to:
+
+- [Accounting data](https://docs.codat.io/accounting-api/overview) - 1 active connection.
+- [Banking data](https://docs.codat.io/banking-api/overview) - Multiple active connections.
+- [Commerce data](https://docs.codat.io/commerce-api/overview) - Multiple active connections.
+Any combination of accounting, banking, and commerce data connections is allowed.
+
+Before you can use a data connection to pull or push data, the company must grant you access to their business data by [linking the connection](https://docs.codat.io/auth-flow/overview).
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `additional_properties` | *Optional[Any]* | :heavy_minus_sign: | N/A | |
+| `connection_info` | dict[str, *str*] | :heavy_minus_sign: | N/A | |
+| `created` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data_connection_errors` | list[[DataConnectionError](../../models/shared/dataconnectionerror.md)] | :heavy_minus_sign: | N/A | |
+| `id` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `integration_id` | *str* | :heavy_check_mark: | A Codat ID representing the integration. | fd321cb6-7963-4506-b873-e99593a45e30 |
+| `integration_key` | *str* | :heavy_check_mark: | A unique four-character ID that identifies the platform of the company's data connection. This ensures continuity if the platform changes its name in the future. | |
+| `last_sync` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `link_url` | *str* | :heavy_check_mark: | N/A | https://link-api.codat.io/companies/86bd88cb-44ab-4dfb-b32f-87b19b14287f/connections/2e2eb431-c1fa-4dc9-93fa-d29781c12bcd/start |
+| `platform_name` | *str* | :heavy_check_mark: | N/A | |
+| `source_id` | *str* | :heavy_check_mark: | A source-specific ID used to distinguish between different sources originating from the same data connection. In general, a data connection is a single data source. However, for TrueLayer, `sourceId` is associated with a specific bank and has a many-to-one relationship with the `integrationId`. | 35b92968-9851-4095-ad60-395c95cbcba4 |
+| `source_type` | [ConnectionSourceType](../../models/shared/connectionsourcetype.md) | :heavy_check_mark: | The type of platform of the connection. | Accounting |
+| `status` | [DataConnectionStatus](../../models/shared/dataconnectionstatus.md) | :heavy_check_mark: | The current authorization status of the data connection. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/connections.md b/sync-for-payables/docs/models/shared/connections.md
new file mode 100755
index 000000000..ba1135508
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/connections.md
@@ -0,0 +1,14 @@
+# Connections
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Connection](../../models/shared/connection.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/connectionsourcetype.md b/sync-for-payables/docs/models/shared/connectionsourcetype.md
new file mode 100755
index 000000000..85e691690
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/connectionsourcetype.md
@@ -0,0 +1,14 @@
+# ConnectionSourceType
+
+The type of platform of the connection.
+
+
+## Values
+
+| Name | Value |
+| ------------ | ------------ |
+| `ACCOUNTING` | Accounting |
+| `BANKING` | Banking |
+| `COMMERCE` | Commerce |
+| `OTHER` | Other |
+| `UNKNOWN` | Unknown |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createaccountresponse.md b/sync-for-payables/docs/models/shared/createaccountresponse.md
new file mode 100755
index 000000000..5c85a35eb
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createaccountresponse.md
@@ -0,0 +1,23 @@
+# CreateAccountResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[Account]](../../models/shared/account.md) | :heavy_minus_sign: | > **Language tip:** Accounts are also referred to as **chart of accounts**, **nominal accounts**, and **general ledger**.
View the coverage for accounts in the Data coverage explorer.
## Overview
Accounts are the categories a business uses to record accounting transactions. From the Accounts endpoints, you can retrieve a list of all accounts for a specified company.
The categories for an account include:
* Asset
* Expense
* Income
* Liability
* Equity.
The same account may have a different category based on the integration it is used in. For example, a current account (known as checking in the US) should be categorized as `Asset.Current` for Xero, and `Asset.Bank.Checking` for QuickBooks Online.
At the same time, each integration may have its own requirements to the categories. For example, a Paypal account in Xero is of the `Asset.Bank` category and therefore requires additional properties to be provided.
To determine the list of allowed categories for a specific integration, you can:
- Follow our [Create, update, delete data](https://docs.codat.io/using-the-api/push) guide and use the [Get create account model](https://docs.codat.io/accounting-api#/operations/get-create-chartOfAccounts-model).
- Refer to the integration's own documentation.
> **Accounts with no category**
>
> If an account is pulled from the chart of accounts and its nominal code does not lie within the category layout for the company's accounts, then the **type** is `Unknown`. The **fullyQualifiedCategory** and **fullyQualifiedName** fields return `null`.
>
> This approach gives a true representation of the company's accounts whilst preventing distorting financials such as a company's profit and loss and balance sheet reports. | |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createbillcreditnoteresponse.md b/sync-for-payables/docs/models/shared/createbillcreditnoteresponse.md
new file mode 100755
index 000000000..9dc752f3a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createbillcreditnoteresponse.md
@@ -0,0 +1,23 @@
+# CreateBillCreditNoteResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[BillCreditNote]](../../models/shared/billcreditnote.md) | :heavy_minus_sign: | > **Bill credit notes or credit notes?**
>
> In Codat, bill credit notes represent accounts payable only. For accounts receivable, see [Credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote).
View the coverage for bill credit notes in the Data coverage explorer.
## Overview
A bill credit note is issued by a supplier for the purpose of recording credit. For example, if a supplier was unable to fulfil an order that was placed by a business, or delivered damaged goods, they would issue a bill credit note. A bill credit note reduces the amount a business owes to the supplier. It can be refunded to the business or used to pay off future bills.
In the Codat API, a bill credit note is an accounts payable record issued by a [supplier](https://docs.codat.io/accounting-api#/schemas/Supplier).
A bill credit note includes details of:
* The original and remaining credit.
* Any allocations of the credit against other records, such as [bills](https://docs.codat.io/accounting-api#/schemas/Bill).
* The supplier that issued the bill credit note. | |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createbillpaymentresponse.md b/sync-for-payables/docs/models/shared/createbillpaymentresponse.md
new file mode 100755
index 000000000..d94d98165
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createbillpaymentresponse.md
@@ -0,0 +1,23 @@
+# CreateBillPaymentResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[BillPayment]](../../models/shared/billpayment.md) | :heavy_minus_sign: | > **Bill payments or payments?**
>
> We distinguish between transactions where the company received money vs. paid money. If the transaction represents a company spending money (accounts payable) we call this a Bill payment.
>
> See [payments](https://docs.codat.io/accounting-api#/schemas/Payment) for the accounts receivable equivalent of Bill payments, which covers [invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) and [credit notes](https://docs.codat.io/accounting-api#/schemas/CreditNote).
> View the coverage for bill payments in the Data coverage explorer.
## Overview
Bill payments include all accounts payable transaction data ([bills](https://docs.codat.io/accounting-api#/schemas/Bill) and [credit notes against bills](https://docs.codat.io/accounting-api#/schemas/BillCreditNote)).
A bill payment in Codat usually represents an allocation of money within any customer accounts payable account. This includes, but is not strictly limited to:
- A payment made against a bill — for example, a credit card payment, cheque payment, or cash payment.
- An allocation of a supplier's credit note to a bill or perhaps a refund.
- A bill payment made directly to an accounts payable account. This could be an overpayment or a prepayment, or a refund of a payment made directly to an accounts payable account.
Depending on the bill payments which are allowed by the underlying accounting package, some of these types may be combined. Please see the example data section for samples of what these cases look like.
In Codat, a bill payment contains details of:
- When the bill payment was recorded in the accounting system.
- How much it is for and in the currency.
- Who the payment has been paid to, the _supplier_.
- The types of bill payments, the _line items_.
Some accounting platforms give a separate name to purchases where the payment is made immediately, such as something bought with a credit card or online payment. One example of this would be QuickBooks Online's _expenses_. You can find these types of transactions in our [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) data model.
Bill payments is a child data type of [account transactions](https://docs.codat.io/accounting-api#/schemas/AccountTransaction).
---
## Bill payment types
### Payment of a bill
A payment paying a single bill should have the following properties:
- A `totalAmount` indicating the amount of the bill that was paid. This is always positive.
- A `lines` array containing one element with the following properties:
- An `amount` equal to the `totalAmount` above.
- A `links` array containing one element with the following properties:
- A `type` indicating the type of link, in this case a `Bill`.
- An `id` containing the ID of the bill that was paid.
- An amount of `-totalAmount` (negative `totalAmount`), indicating that the entirety of the paid amount is allocated to the bill.
### Payment of multiple bills
It is possible for one payment to pay multiple bills. This can be represented using two possible formats, depending on how the supplier keeps their books:
1. The payment has multiple entries in its **lines** array, one for each bill that is paid. Each line will follow the above example for paying a bill, and the rules detailed in the data model.
2. The payment has a line with multiple links to each bill. This occurs when the proportion of the original payment allocated to each bill is not available.
Each line is the same as those described above, with the **amount** indicating how much of the payment is allocated to the bill. The **amount** on the lines sum to the **totalAmount** on the payment.
> Pushing batch payments to Xero
>
> When pushing a single bill payment to Xero to pay multiple bills, only the first format is supported—multiple entries in the payment **lines** array.
### Payments and refunds on account
A payment on account, that is a payment that doesn’t pay a specific bill, has one entry in its lines array.
The line has the following properties:
- A **totalAmount** indicating the amount paid by a supplier or refunded to them by a company. A payment to the supplier is always negative. A refund is always positive.
- A **links** array containing one element with the following properties:
- A **type** indicating the type of link. For a payment this is `PaymentOnAccount`. For a refund this is `Refund`.
- The **id** containing the ID of the supplier.
- An amount for the link is `0` **totalAmount** or the amount of the payment or refund.
It is possible to have a payment that is part on account and part allocated to a bill. Each line should follow the examples above.
### Using a credit note to pay a bill
The payment of a bill using a credit note has one entry in its `lines` array. This **line** has the following properties:
- An **amount** indicating the amount of money moved, which in this case is `0`, as the credit note and bill allocation must balance each other.
- A **links** array containing two elements:
- The first link has:
- A **type** indicating the type of link, in this case a `Bill`.
- An **id** containing the ID of the bill that was paid.
- The second link has:
- A **type** indicating the type of link, in this case a `CreditNote`.
- An **id** containing the ID of the credit note used by this payment.
The **amount** field on the **line** equals the **totalAmount** on the payment.
### Refunding a credit note
A bill payment refunding a credit note has one entry in its **lines** array. This line has the following properties:
- An **amount** indicating the amount of the credit note that was refunded. This is always negative, indicating that it is a refund.
- A **links** array containing one element with the following properties:
- A **type** indicating the type of `link`, in this case a `CreditNote`.
- An **id** containing the ID of the credit note that was refunded.
The **totalAmount** field on the payment equals the line's **amount** field. These are both negative, as this is money leaving accounts payable.
### Refunding a payment
If a payment is refunded, for example, when a company overpaid a bill and the overpayment is returned, there are two payment records:
- One for the incoming overpayment.
- Another for the outgoing refund.
The payment issuing the refund is identified by the fact that the **totalAmount** is negative. This payment has one entry in its lines array that have the following properties:
- An **amount** indicating the amount that was refunded. This is always negative.
- A **links** array containing one element with the following properties:
- A **type** indicating the type of a the link, in this case a `BillPayment`.
- An **id** containing the ID of the payment that was refunded.
The **amount** field on the line equals the **totalAmount** on the payment and is negative as this is money leaving accounts payable.
The payment that was refunded can be identified as it has a line where the `amount` on its `line` is positive and the type of the link is `Refund`. This payment may have several entries in its **lines** array if it was partly used to pay an bill. For example, a £1,050 payment paying a £1,000 bill with a refund of £50 has two lines:
- One for £1,000 linked to the bill that was paid
- Another for £50 linked to the payment that refunded the over payment. This link is of type `Refund` but the ID corresponds to a bill payment.
The line linked to the bill payment has the following properties:
- An **amount** indicating the amount that was refunded. This is positive as its money that was added to accounts payable, but is balanced out by the negative amount of the refund.
- A **links** array containing one element with the following properties:
- A **type** indicating the type of the link, in this case a `Refund`.
- An **id** containing the ID of the payment that refunded this line.
> Linked payments
>
> Not all accounting packages support linked payments in this way. In these platforms you may see a payment on account and a refund on account.
## Foreign currencies
There are two types of currency rate that are detailed in the bill payments data type:
Payment currency rate:
- Base currency of the accounts payable account.
- Foreign currency of the bill payment.
Payment line link currency rate:
- Base currency of the item that the link represents.
- Foreign currency of the payment.
These two rates allow the calculation of currency loss or gain for any of the transactions affected by the payment lines. The second rate is used when a bill payment is applied to an item in a currency that does not match either:
- The base currency for the accounts payable account.
- The currency of the item.
| |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createbillresponse.md b/sync-for-payables/docs/models/shared/createbillresponse.md
new file mode 100755
index 000000000..4784edb7b
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createbillresponse.md
@@ -0,0 +1,23 @@
+# CreateBillResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[Bill]](../../models/shared/bill.md) | :heavy_minus_sign: | > **Invoices or bills?**
>
> We distinguish between invoices where the company *owes money* vs. *is owed money*. If the company has received an invoice, and owes money to someone else (accounts payable) we call this a Bill.
>
> See [Invoices](https://docs.codat.io/accounting-api#/schemas/Invoice) for the accounts receivable equivalent of bills.
View the coverage for bills in the Data coverage explorer.
## Overview
In Codat, a bill contains details of:
* When the bill was recorded in the accounting system.
* How much the bill is for and the currency of the amount.
* Who the bill was received from — the *supplier*.
* What the bill is for — the *line items*.
Some accounting platforms give a separate name to purchases where the payment is made immediately, such as something bought with a credit card or online payment. One example of this would be QuickBooks Online's *expenses*.
You can find these types of transactions in our [Direct costs](https://docs.codat.io/accounting-api#/schemas/DirectCost) data model. | |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createjournalentryresponse.md b/sync-for-payables/docs/models/shared/createjournalentryresponse.md
new file mode 100755
index 000000000..0f460fa78
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createjournalentryresponse.md
@@ -0,0 +1,23 @@
+# CreateJournalEntryResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[JournalEntry]](../../models/shared/journalentry.md) | :heavy_minus_sign: | > **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/accounting-api#/schemas/Journal) data type
> View the coverage for journal entries in the Data coverage explorer.
## Overview
A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/accounting-api#/schemas/Account), when transactions are approved. The journal line items for each journal entry should balance.
A journal entry line item is a single transaction line on the journal entry. For example:
- When a journal entry is recording a receipt of cash, the credit to accounts receivable and the debit to cash are separate line items.
- When a company needs to recognise revenue from an annual contract on a monthly basis, on receipt of cash for month one, they make a debit to deferred income and a credit to revenue.
In Codat a journal entry contains details of:
- The date on which the entry was created and posted.
- Itemised lines, including amounts and currency.
- A reference to the associated accounts.
- A reference to the underlying record. For example, the invoice, bill, or other data type that triggered the posting of the journal entry to the general ledger.
> **Pushing journal entries**
> Codat only supports journal entries in the base currency of the company that are pushed into accounts denominated in the same base currency. | |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createjournalresponse.md b/sync-for-payables/docs/models/shared/createjournalresponse.md
new file mode 100755
index 000000000..aef3a0122
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createjournalresponse.md
@@ -0,0 +1,23 @@
+# CreateJournalResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[Journal]](../../models/shared/journal.md) | :heavy_minus_sign: | > **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/accounting-api#/schemas/JournalEntry) data type
> View the coverage for journals in the Data coverage explorer.
## Overview
In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/accounting-api#/schemas/JournalEntry). These entries are used to create the general ledger, which is then used to create the financial statements of a business.
When a company records all their transactions in a single journal, it can become large and difficult to maintain and track. This is why large companies often use multiple journals (also known as subjournals) to categorize and manage journal entries.
Such journals can be divided into two categories:
- Special journals: journals used to record specific types of transactions; for example, a purchases journal, a sales journal, or a cash management journal.
- General journals: journals used to record transactions that fall outside the scope of the special journals.
Multiple journals or subjournals are used in the following Codat integrations:
- [Sage Intacct](https://docs.codat.io/integrations/accounting/sage-intacct/accounting-sage-intacct) (mandatory)
- [Exact Online](https://docs.codat.io/integrations/accounting/exact-online/accounting-exact-online) (mandatory)
- [Oracle NetSuite](https://docs.codat.io/integrations/accounting/netsuite/accounting-netsuite) (optional)
> When pushing journal entries to an accounting platform that doesn’t support multiple journals (multi-book accounting), the entries will be linked to the platform-generic journal. The Journals data type will only include one object.
| |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/createsupplierresponse.md b/sync-for-payables/docs/models/shared/createsupplierresponse.md
new file mode 100755
index 000000000..74317f15f
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/createsupplierresponse.md
@@ -0,0 +1,23 @@
+# CreateSupplierResponse
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data` | [Optional[Supplier]](../../models/shared/supplier.md) | :heavy_minus_sign: | > View the coverage for suppliers in the Data coverage explorer.
## Overview
From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill). | |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/dataconnectionerror.md b/sync-for-payables/docs/models/shared/dataconnectionerror.md
new file mode 100755
index 000000000..6c85722e1
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/dataconnectionerror.md
@@ -0,0 +1,11 @@
+# DataConnectionError
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `errored_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status_code` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `status_text` | *Optional[str]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/dataconnectionstatus.md b/sync-for-payables/docs/models/shared/dataconnectionstatus.md
new file mode 100755
index 000000000..4e79f5d5a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/dataconnectionstatus.md
@@ -0,0 +1,13 @@
+# DataConnectionStatus
+
+The current authorization status of the data connection.
+
+
+## Values
+
+| Name | Value |
+| -------------- | -------------- |
+| `PENDING_AUTH` | PendingAuth |
+| `LINKED` | Linked |
+| `UNLINKED` | Unlinked |
+| `DEAUTHORIZED` | Deauthorized |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/datastatus.md b/sync-for-payables/docs/models/shared/datastatus.md
new file mode 100755
index 000000000..389c2cf54
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/datastatus.md
@@ -0,0 +1,14 @@
+# DataStatus
+
+Describes the state of data in the Codat cache for a company and data type
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `current_status` | *str* | :heavy_check_mark: | N/A | |
+| `data_type` | *str* | :heavy_check_mark: | N/A | |
+| `last_successful_sync` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `latest_successful_sync_id` | *Optional[str]* | :heavy_minus_sign: | N/A | 8220fc90-55b6-47bc-9417-48ac6ea93101 |
+| `latest_sync_id` | *Optional[str]* | :heavy_minus_sign: | N/A | ad474a37-2003-478e-baee-9af9f1ec2fe3 |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/datatype.md b/sync-for-payables/docs/models/shared/datatype.md
new file mode 100755
index 000000000..0e358dc70
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/datatype.md
@@ -0,0 +1,51 @@
+# DataType
+
+Available Data types
+
+
+## Values
+
+| Name | Value |
+| -------------------------------- | -------------------------------- |
+| `ACCOUNT_TRANSACTIONS` | accountTransactions |
+| `BALANCE_SHEET` | balanceSheet |
+| `BANK_ACCOUNTS` | bankAccounts |
+| `BANK_TRANSACTIONS` | bankTransactions |
+| `BILL_CREDIT_NOTES` | billCreditNotes |
+| `BILL_PAYMENTS` | billPayments |
+| `BILLS` | bills |
+| `CASH_FLOW_STATEMENT` | cashFlowStatement |
+| `CHART_OF_ACCOUNTS` | chartOfAccounts |
+| `COMPANY` | company |
+| `CREDIT_NOTES` | creditNotes |
+| `CUSTOMERS` | customers |
+| `DIRECT_COSTS` | directCosts |
+| `DIRECT_INCOMES` | directIncomes |
+| `INVOICES` | invoices |
+| `ITEMS` | items |
+| `JOURNAL_ENTRIES` | journalEntries |
+| `JOURNALS` | journals |
+| `PAYMENT_METHODS` | paymentMethods |
+| `PAYMENTS` | payments |
+| `PROFIT_AND_LOSS` | profitAndLoss |
+| `PURCHASE_ORDERS` | purchaseOrders |
+| `SALES_ORDERS` | salesOrders |
+| `SUPPLIERS` | suppliers |
+| `TAX_RATES` | taxRates |
+| `TRACKING_CATEGORIES` | trackingCategories |
+| `TRANSFERS` | transfers |
+| `BANKING_ACCOUNT_BALANCES` | banking-accountBalances |
+| `BANKING_ACCOUNTS` | banking-accounts |
+| `BANKING_TRANSACTION_CATEGORIES` | banking-transactionCategories |
+| `BANKING_TRANSACTIONS` | banking-transactions |
+| `COMMERCE_COMPANY_INFO` | commerce-companyInfo |
+| `COMMERCE_CUSTOMERS` | commerce-customers |
+| `COMMERCE_DISPUTES` | commerce-disputes |
+| `COMMERCE_LOCATIONS` | commerce-locations |
+| `COMMERCE_ORDERS` | commerce-orders |
+| `COMMERCE_PAYMENT_METHODS` | commerce-paymentMethods |
+| `COMMERCE_PAYMENTS` | commerce-payments |
+| `COMMERCE_PRODUCT_CATEGORIES` | commerce-productCategories |
+| `COMMERCE_PRODUCTS` | commerce-products |
+| `COMMERCE_TAX_COMPONENTS` | commerce-taxComponents |
+| `COMMERCE_TRANSACTIONS` | commerce-transactions |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/errormessage.md b/sync-for-payables/docs/models/shared/errormessage.md
new file mode 100755
index 000000000..b32400646
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/errormessage.md
@@ -0,0 +1,15 @@
+# ErrorMessage
+
+Your `query` parameter was not correctly formed
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------- | --------------------- | --------------------- | --------------------- |
+| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
+| `error` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `service` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `status_code` | *Optional[int]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/halref.md b/sync-for-payables/docs/models/shared/halref.md
new file mode 100755
index 000000000..fef2ab2fc
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/halref.md
@@ -0,0 +1,8 @@
+# HalRef
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `href` | *Optional[str]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/itemref.md b/sync-for-payables/docs/models/shared/itemref.md
new file mode 100755
index 000000000..29f0e145d
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/itemref.md
@@ -0,0 +1,11 @@
+# ItemRef
+
+Reference to the item the line is linked to.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
+| `id` | *str* | :heavy_check_mark: | Unique identifier for the item in the accounting platform. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the item in the accounting platform. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/items.md b/sync-for-payables/docs/models/shared/items.md
new file mode 100755
index 000000000..1e8d29332
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/items.md
@@ -0,0 +1,9 @@
+# Items
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
+| `allocation` | [ItemsAllocation](../../models/shared/itemsallocation.md) | :heavy_check_mark: | N/A |
+| `payment` | [PaymentAllocationPayment](../../models/shared/paymentallocationpayment.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/itemsallocation.md b/sync-for-payables/docs/models/shared/itemsallocation.md
new file mode 100755
index 000000000..1678c4912
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/itemsallocation.md
@@ -0,0 +1,11 @@
+# ItemsAllocation
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `allocated_on_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | The total amount that has been allocated. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journal.md b/sync-for-payables/docs/models/shared/journal.md
new file mode 100755
index 000000000..5c2fada8e
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journal.md
@@ -0,0 +1,42 @@
+# Journal
+
+> **Language tip:** For line items, or individual transactions, of a company's financial documents, refer to the [Journal entries](https://docs.codat.io/accounting-api#/schemas/JournalEntry) data type
+
+> View the coverage for journals in the Data coverage explorer.
+
+## Overview
+
+In accounting software, journals are used to record all the financial transactions of a company. Each transaction in a journal is represented by a separate [journal entry](https://docs.codat.io/accounting-api#/schemas/JournalEntry). These entries are used to create the general ledger, which is then used to create the financial statements of a business.
+
+When a company records all their transactions in a single journal, it can become large and difficult to maintain and track. This is why large companies often use multiple journals (also known as subjournals) to categorize and manage journal entries.
+
+Such journals can be divided into two categories:
+
+- Special journals: journals used to record specific types of transactions; for example, a purchases journal, a sales journal, or a cash management journal.
+- General journals: journals used to record transactions that fall outside the scope of the special journals.
+
+Multiple journals or subjournals are used in the following Codat integrations:
+
+- [Sage Intacct](https://docs.codat.io/integrations/accounting/sage-intacct/accounting-sage-intacct) (mandatory)
+- [Exact Online](https://docs.codat.io/integrations/accounting/exact-online/accounting-exact-online) (mandatory)
+- [Oracle NetSuite](https://docs.codat.io/integrations/accounting/netsuite/accounting-netsuite) (optional)
+
+> When pushing journal entries to an accounting platform that doesn’t support multiple journals (multi-book accounting), the entries will be linked to the platform-generic journal. The Journals data type will only include one object.
+
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `created_on` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `has_children` | *Optional[bool]* | :heavy_minus_sign: | If the journal has child journals, this value is true. If it doesn’t, it is false. | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Journal ID. | |
+| `journal_code` | *Optional[str]* | :heavy_minus_sign: | Native journal number or code. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Journal name.
The maximum length for a journal name is 256 characters. All characters above that number will be truncated. | |
+| `parent_id` | *Optional[str]* | :heavy_minus_sign: | Parent journal ID.
If the journal is a parent journal, this value is not present. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [Optional[JournalStatus]](../../models/shared/journalstatus.md) | :heavy_minus_sign: | Current journal status. | |
+| `type` | *Optional[str]* | :heavy_minus_sign: | The type of the journal. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journalentry.md b/sync-for-payables/docs/models/shared/journalentry.md
new file mode 100755
index 000000000..efa5243ff
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journalentry.md
@@ -0,0 +1,42 @@
+# JournalEntry
+
+> **Language tip:** For the top-level record of a company's financial transactions, refer to the [Journals](https://docs.codat.io/accounting-api#/schemas/Journal) data type
+
+> View the coverage for journal entries in the Data coverage explorer.
+
+## Overview
+
+A journal entry report shows the entries made in a company's general ledger, or [accounts](https://docs.codat.io/accounting-api#/schemas/Account), when transactions are approved. The journal line items for each journal entry should balance.
+
+A journal entry line item is a single transaction line on the journal entry. For example:
+
+- When a journal entry is recording a receipt of cash, the credit to accounts receivable and the debit to cash are separate line items.
+- When a company needs to recognise revenue from an annual contract on a monthly basis, on receipt of cash for month one, they make a debit to deferred income and a credit to revenue.
+
+In Codat a journal entry contains details of:
+
+- The date on which the entry was created and posted.
+- Itemised lines, including amounts and currency.
+- A reference to the associated accounts.
+- A reference to the underlying record. For example, the invoice, bill, or other data type that triggered the posting of the journal entry to the general ledger.
+
+> **Pushing journal entries**
+> Codat only supports journal entries in the base currency of the company that are pushed into accounts denominated in the same base currency.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `created_on` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Optional description of the journal entry. | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier of the journal entry for the company in the accounting platform. | |
+| `journal_lines` | list[[JournalLine](../../models/shared/journalline.md)] | :heavy_minus_sign: | An array of journal lines. | |
+| `journal_ref` | [Optional[JournalRef]](../../models/shared/journalref.md) | :heavy_minus_sign: | Links journal entries to the relevant journal in accounting integrations that use multi-book accounting (multiple journals). | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `posted_on` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `record_ref` | [Optional[JournalEntryRecordReference]](../../models/shared/journalentryrecordreference.md) | :heavy_minus_sign: | Links the current record to the underlying record or data type that created it.
For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `supplemental_data` | [Optional[SupplementalData]](../../models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.
It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data. | |
+| `updated_on` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journalentryrecordreference.md b/sync-for-payables/docs/models/shared/journalentryrecordreference.md
new file mode 100755
index 000000000..63e031674
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journalentryrecordreference.md
@@ -0,0 +1,13 @@
+# JournalEntryRecordReference
+
+Links the current record to the underlying record or data type that created it.
+
+For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
+| `data_type` | *Optional[str]* | :heavy_minus_sign: | Allowed name of the 'dataType'. | journalEntry |
+| `id` | *Optional[str]* | :heavy_minus_sign: | 'id' of the underlying record or data type. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journalline.md b/sync-for-payables/docs/models/shared/journalline.md
new file mode 100755
index 000000000..383211ebb
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journalline.md
@@ -0,0 +1,12 @@
+# JournalLine
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `account_ref` | [Optional[AccountRef]](../../models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | Currency for the journal line item. |
+| `description` | *Optional[str]* | :heavy_minus_sign: | Description of the journal line item. |
+| `net_amount` | *float* | :heavy_check_mark: | Amount for the journal line. Debit entries are considered positive, and credit entries are considered negative. |
+| `tracking` | [Optional[JournalLineTracking]](../../models/shared/journallinetracking.md) | :heavy_minus_sign: | List of record refs associated with the tracking information for the line (eg to a Tracking Category, or customer etc.) |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journallinetracking.md b/sync-for-payables/docs/models/shared/journallinetracking.md
new file mode 100755
index 000000000..29f3d72ca
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journallinetracking.md
@@ -0,0 +1,10 @@
+# JournalLineTracking
+
+List of record refs associated with the tracking information for the line (eg to a Tracking Category, or customer etc.)
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- |
+| `record_refs` | list[[RecordRef](../../models/shared/recordref.md)] | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journalref.md b/sync-for-payables/docs/models/shared/journalref.md
new file mode 100755
index 000000000..d01ed2293
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journalref.md
@@ -0,0 +1,11 @@
+# JournalRef
+
+Links journal entries to the relevant journal in accounting integrations that use multi-book accounting (multiple journals).
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------- | ------------------------------- | ------------------------------- | ------------------------------- |
+| `id` | *str* | :heavy_check_mark: | GUID of the underlying journal. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of journal |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journals.md b/sync-for-payables/docs/models/shared/journals.md
new file mode 100755
index 000000000..281db1f21
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journals.md
@@ -0,0 +1,14 @@
+# Journals
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Journal](../../models/shared/journal.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/journalstatus.md b/sync-for-payables/docs/models/shared/journalstatus.md
new file mode 100755
index 000000000..c1ebc3837
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/journalstatus.md
@@ -0,0 +1,12 @@
+# JournalStatus
+
+Current journal status.
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/links.md b/sync-for-payables/docs/models/shared/links.md
new file mode 100755
index 000000000..7aad1ea5d
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/links.md
@@ -0,0 +1,11 @@
+# Links
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
+| `current` | [HalRef](../../models/shared/halref.md) | :heavy_check_mark: | N/A |
+| `next` | [Optional[HalRef]](../../models/shared/halref.md) | :heavy_minus_sign: | N/A |
+| `previous` | [Optional[HalRef]](../../models/shared/halref.md) | :heavy_minus_sign: | N/A |
+| `self_` | [HalRef](../../models/shared/halref.md) | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/metadata.md b/sync-for-payables/docs/models/shared/metadata.md
new file mode 100755
index 000000000..cb411f043
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/metadata.md
@@ -0,0 +1,8 @@
+# Metadata
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
+| `is_deleted` | *Optional[bool]* | :heavy_minus_sign: | Indicates whether the record has been deleted in the third-party system this record originated from. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/paymentallocationpayment.md b/sync-for-payables/docs/models/shared/paymentallocationpayment.md
new file mode 100755
index 000000000..7c7dab9fc
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/paymentallocationpayment.md
@@ -0,0 +1,15 @@
+# PaymentAllocationPayment
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `account_ref` | [Optional[AccountRef]](../../models/shared/accountref.md) | :heavy_minus_sign: | Data types that reference an account, for example bill and invoice line items, use an accountRef that includes the ID and name of the linked account. | |
+| `currency` | *Optional[str]* | :heavy_minus_sign: | The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
## Unknown currencies
In line with the ISO 4217 specification, the code _XXX_ is used when the data source does not return a currency for a transaction.
There are only a very small number of edge cases where this currency code is returned by the Codat system. | GBP |
+| `currency_rate` | *Optional[float]* | :heavy_minus_sign: | Rate to convert the total amount of the payment into the base currency for the company at the time of the payment.
Currency rates in Codat are implemented as the multiple of foreign currency units to each base currency unit.
It is not possible to perform the currency conversion with two or more non-base currencies participating in the transaction. For example, if a company's base currency is USD, and it has a bill issued in EUR, then the bill payment must happen in USD or EUR.
Where the currency rate is provided by the underlying accounting platform, it will be available from Codat with the same precision (up to a maximum of 9 decimal places).
For accounting platforms which do not provide an explicit currency rate, it is calculated as `baseCurrency / foreignCurrency` and will be returned to 9 decimal places.
## Examples with base currency of GBP
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (GBP) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **USD** \| $20 \| 0.781 \| £15.62 \|
\| **EUR** \| €20 \| 0.885 \| £17.70 \|
\| **RUB** \| ₽20 \| 0.011 \| £0.22 \|
## Examples with base currency of USD
\| Foreign Currency \| Foreign Amount \| Currency Rate \| Base Currency Amount (USD) \|
\| :--------------- \| :------------- \| :------------ \| :------------------------- \|
\| **GBP** \| £20 \| 1.277 \| $25.54 \|
\| **EUR** \| €20 \| 1.134 \| $22.68 \|
\| **RUB** \| ₽20 \| 0.015 \| $0.30 \| | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier of the allocated payment. | |
+| `note` | *Optional[str]* | :heavy_minus_sign: | Notes attached to the allocated payment. | |
+| `paid_on_date` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `reference` | *Optional[str]* | :heavy_minus_sign: | Reference to the allocated payment. | |
+| `total_amount` | *Optional[float]* | :heavy_minus_sign: | Total amount that was paid. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/paymentmethod.md b/sync-for-payables/docs/models/shared/paymentmethod.md
new file mode 100755
index 000000000..ef9d1b268
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/paymentmethod.md
@@ -0,0 +1,20 @@
+# PaymentMethod
+
+> View the coverage for payment methods in the Data coverage explorer.
+
+## Overview
+
+A Payment Method represents the payment method(s) used to pay a Bill. Payment Methods are referenced on [Bill Payments](https://docs.codat.io/accounting-api#/schemas/BillPayment) and [Payments](https://docs.codat.io/accounting-api#/schemas/Payment).
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for the payment method. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the payment method. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [Optional[PaymentMethodStatus]](../../models/shared/paymentmethodstatus.md) | :heavy_minus_sign: | Status of the Payment Method. | |
+| `type` | [Optional[PaymentMethodType]](../../models/shared/paymentmethodtype.md) | :heavy_minus_sign: | Method of payment. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/paymentmethods.md b/sync-for-payables/docs/models/shared/paymentmethods.md
new file mode 100755
index 000000000..abbd8439c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/paymentmethods.md
@@ -0,0 +1,14 @@
+# PaymentMethods
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[PaymentMethod](../../models/shared/paymentmethod.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/paymentmethodstatus.md b/sync-for-payables/docs/models/shared/paymentmethodstatus.md
new file mode 100755
index 000000000..18014390a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/paymentmethodstatus.md
@@ -0,0 +1,12 @@
+# PaymentMethodStatus
+
+Status of the Payment Method.
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/paymentmethodtype.md b/sync-for-payables/docs/models/shared/paymentmethodtype.md
new file mode 100755
index 000000000..e1cf7a3f3
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/paymentmethodtype.md
@@ -0,0 +1,16 @@
+# PaymentMethodType
+
+Method of payment.
+
+
+## Values
+
+| Name | Value |
+| --------------- | --------------- |
+| `UNKNOWN` | Unknown |
+| `CASH` | Cash |
+| `CHECK` | Check |
+| `CREDIT_CARD` | CreditCard |
+| `DEBIT_CARD` | DebitCard |
+| `BANK_TRANSFER` | BankTransfer |
+| `OTHER` | Other |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pulloperation.md b/sync-for-payables/docs/models/shared/pulloperation.md
new file mode 100755
index 000000000..a4f6d0c4b
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pulloperation.md
@@ -0,0 +1,19 @@
+# PullOperation
+
+Information about a queued, in progress or completed pull operation.
+*Formally called `dataset`*
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `company_id` | *str* | :heavy_check_mark: | N/A | 22ece347-e5f6-4896-95e0-35a4c7f17023 |
+| `connection_id` | *str* | :heavy_check_mark: | N/A | 50830828-7d39-4367-b0eb-5ddb2de5faa5 |
+| `data_type` | *str* | :heavy_check_mark: | N/A | |
+| `id` | *str* | :heavy_check_mark: | N/A | 943accd0-4247-42d8-865b-363c8629e1da |
+| `is_completed` | *bool* | :heavy_check_mark: | N/A | |
+| `is_errored` | *bool* | :heavy_check_mark: | N/A | |
+| `progress` | *int* | :heavy_check_mark: | N/A | |
+| `requested` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PullOperationStatus](../../models/shared/pulloperationstatus.md) | :heavy_check_mark: | N/A | Complete |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pulloperations.md b/sync-for-payables/docs/models/shared/pulloperations.md
new file mode 100755
index 000000000..497d66e3f
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pulloperations.md
@@ -0,0 +1,14 @@
+# PullOperations
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[PullOperation](../../models/shared/pulloperation.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pulloperationstatus.md b/sync-for-payables/docs/models/shared/pulloperationstatus.md
new file mode 100755
index 000000000..12b8f9fd5
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pulloperationstatus.md
@@ -0,0 +1,30 @@
+# PullOperationStatus
+
+
+## Values
+
+| Name | Value |
+| ---------------------- | ---------------------- |
+| `INITIAL` | Initial |
+| `QUEUED` | Queued |
+| `FETCHING` | Fetching |
+| `MAP_QUEUED` | MapQueued |
+| `MAPPING` | Mapping |
+| `COMPLETE` | Complete |
+| `FETCH_ERROR` | FetchError |
+| `MAP_ERROR` | MapError |
+| `INTERNAL_ERROR` | InternalError |
+| `PROCESSING_QUEUED` | ProcessingQueued |
+| `PROCESSING` | Processing |
+| `PROCESSING_ERROR` | ProcessingError |
+| `VALIDATION_QUEUED` | ValidationQueued |
+| `VALIDATING` | Validating |
+| `VALIDATION_ERROR` | ValidationError |
+| `AUTH_ERROR` | AuthError |
+| `CANCELLED` | Cancelled |
+| `ROUTING` | Routing |
+| `ROUTING_ERROR` | RoutingError |
+| `NOT_SUPPORTED` | NotSupported |
+| `RATE_LIMIT_ERROR` | RateLimitError |
+| `PERMISSIONS_ERROR` | PermissionsError |
+| `PREREQUISITE_NOT_MET` | PrerequisiteNotMet |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushchangetype.md b/sync-for-payables/docs/models/shared/pushchangetype.md
new file mode 100755
index 000000000..4818f5d2a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushchangetype.md
@@ -0,0 +1,12 @@
+# PushChangeType
+
+
+## Values
+
+| Name | Value |
+| --------------------- | --------------------- |
+| `UNKNOWN` | Unknown |
+| `CREATED` | Created |
+| `MODIFIED` | Modified |
+| `DELETED` | Deleted |
+| `ATTACHMENT_UPLOADED` | AttachmentUploaded |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushfieldvalidation.md b/sync-for-payables/docs/models/shared/pushfieldvalidation.md
new file mode 100755
index 000000000..1008b54d5
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushfieldvalidation.md
@@ -0,0 +1,10 @@
+# PushFieldValidation
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------ | ------------------ | ------------------ | ------------------ |
+| `details` | *str* | :heavy_check_mark: | N/A |
+| `field` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `ref` | *Optional[str]* | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoperation.md b/sync-for-payables/docs/models/shared/pushoperation.md
new file mode 100755
index 000000000..b90de2409
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoperation.md
@@ -0,0 +1,22 @@
+# PushOperation
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `changes` | list[[PushOperationChange](../../models/shared/pushoperationchange.md)] | :heavy_minus_sign: | Contains a single entry that communicates which record has changed and the manner in which it changed. | |
+| `company_id` | *str* | :heavy_check_mark: | Unique identifier for your SMB in Codat. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
+| `completed_on_utc` | *Optional[str]* | :heavy_minus_sign: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `data_connection_key` | *str* | :heavy_check_mark: | Unique identifier for a company's data connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `error_message` | *Optional[str]* | :heavy_minus_sign: | N/A | |
+| `push_operation_key` | *str* | :heavy_check_mark: | A unique identifier generated by Codat to represent this single push operation. This identifier can be used to track the status of the push, and should be persisted. | |
+| `requested_on_utc` | *str* | :heavy_check_mark: | In Codat's data model, dates and times are represented using the ISO 8601 standard. Date and time fields are formatted as strings; for example:
```
2020-10-08T22:40:50Z
2021-01-01T00:00:00
```
When syncing data that contains `DateTime` fields from Codat, make sure you support the following cases when reading time information:
- Coordinated Universal Time (UTC): `2021-11-15T06:00:00Z`
- Unqualified local time: `2021-11-15T01:00:00`
- UTC time offsets: `2021-11-15T01:00:00-05:00`
> Time zones
>
> Not all dates from Codat will contain information about time zones.
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced. | 2022-10-23T00:00:00.000Z |
+| `status` | [PushOperationStatus](../../models/shared/pushoperationstatus.md) | :heavy_check_mark: | The status of the push operation. | |
+| `status_code` | *int* | :heavy_check_mark: | N/A | |
+| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | |
+| ~~`timeout_in_seconds`~~ | *Optional[int]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | |
+| `validation` | [Optional[Validation]](../../models/shared/validation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made when pushing data into the platform. If a push has failed because of validation errors, they will be detailed here. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoperationchange.md b/sync-for-payables/docs/models/shared/pushoperationchange.md
new file mode 100755
index 000000000..b57a9c8b9
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoperationchange.md
@@ -0,0 +1,10 @@
+# PushOperationChange
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
+| `attachment_id` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `record_ref` | [Optional[PushOperationRef]](../../models/shared/pushoperationref.md) | :heavy_minus_sign: | N/A |
+| `type` | [Optional[PushChangeType]](../../models/shared/pushchangetype.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoperationref.md b/sync-for-payables/docs/models/shared/pushoperationref.md
new file mode 100755
index 000000000..10503c8ee
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoperationref.md
@@ -0,0 +1,9 @@
+# PushOperationRef
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- |
+| `data_type` | [Optional[DataType]](../../models/shared/datatype.md) | :heavy_minus_sign: | Available Data types | invoices |
+| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoperations.md b/sync-for-payables/docs/models/shared/pushoperations.md
new file mode 100755
index 000000000..4967d37e5
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoperations.md
@@ -0,0 +1,14 @@
+# PushOperations
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- | ----------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[PushOperation](../../models/shared/pushoperation.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoperationstatus.md b/sync-for-payables/docs/models/shared/pushoperationstatus.md
new file mode 100755
index 000000000..4125ba6a3
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoperationstatus.md
@@ -0,0 +1,13 @@
+# PushOperationStatus
+
+The status of the push operation.
+
+
+## Values
+
+| Name | Value |
+| ----------- | ----------- |
+| `PENDING` | Pending |
+| `FAILED` | Failed |
+| `SUCCESS` | Success |
+| `TIMED_OUT` | TimedOut |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoption.md b/sync-for-payables/docs/models/shared/pushoption.md
new file mode 100755
index 000000000..5a6b4939e
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoption.md
@@ -0,0 +1,16 @@
+# PushOption
+
+OK
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
+| `description` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `display_name` | *str* | :heavy_check_mark: | N/A |
+| `options` | list[[PushOptionChoice](../../models/shared/pushoptionchoice.md)] | :heavy_minus_sign: | N/A |
+| `properties` | dict[str, [PushOptionProperty](../../models/shared/pushoptionproperty.md)] | :heavy_minus_sign: | N/A |
+| `required` | *bool* | :heavy_check_mark: | N/A |
+| `type` | [PushOptionType](../../models/shared/pushoptiontype.md) | :heavy_check_mark: | N/A |
+| `validation` | [Optional[PushValidationInfo]](../../models/shared/pushvalidationinfo.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoptionchoice.md b/sync-for-payables/docs/models/shared/pushoptionchoice.md
new file mode 100755
index 000000000..fe6383d2b
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoptionchoice.md
@@ -0,0 +1,12 @@
+# PushOptionChoice
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
+| `description` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A |
+| `required` | *Optional[bool]* | :heavy_minus_sign: | N/A |
+| `type` | [Optional[PushOptionType]](../../models/shared/pushoptiontype.md) | :heavy_minus_sign: | N/A |
+| `value` | *Optional[str]* | :heavy_minus_sign: | Allowed value for field. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoptionproperty.md b/sync-for-payables/docs/models/shared/pushoptionproperty.md
new file mode 100755
index 000000000..2178375f1
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoptionproperty.md
@@ -0,0 +1,14 @@
+# PushOptionProperty
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
+| `description` | *str* | :heavy_check_mark: | N/A |
+| `display_name` | *str* | :heavy_check_mark: | N/A |
+| `options` | list[[PushOptionChoice](../../models/shared/pushoptionchoice.md)] | :heavy_minus_sign: | N/A |
+| `properties` | dict[str, [PushOptionProperty](../../models/shared/pushoptionproperty.md)] | :heavy_minus_sign: | N/A |
+| `required` | *bool* | :heavy_check_mark: | N/A |
+| `type` | [PushOptionType](../../models/shared/pushoptiontype.md) | :heavy_check_mark: | N/A |
+| `validation` | [Optional[PushValidationInfo]](../../models/shared/pushvalidationinfo.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushoptiontype.md b/sync-for-payables/docs/models/shared/pushoptiontype.md
new file mode 100755
index 000000000..f03b48ce2
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushoptiontype.md
@@ -0,0 +1,15 @@
+# PushOptionType
+
+
+## Values
+
+| Name | Value |
+| ------------ | ------------ |
+| `ARRAY` | Array |
+| `OBJECT` | Object |
+| `STRING` | String |
+| `NUMBER` | Number |
+| `BOOLEAN` | Boolean |
+| `DATE_TIME` | DateTime |
+| `FILE` | File |
+| `MULTI_PART` | MultiPart |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/pushvalidationinfo.md b/sync-for-payables/docs/models/shared/pushvalidationinfo.md
new file mode 100755
index 000000000..9faf9b85f
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/pushvalidationinfo.md
@@ -0,0 +1,9 @@
+# PushValidationInfo
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- |
+| `information` | list[[PushFieldValidation](../../models/shared/pushfieldvalidation.md)] | :heavy_minus_sign: | N/A |
+| `warnings` | list[[PushFieldValidation](../../models/shared/pushfieldvalidation.md)] | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/recordref.md b/sync-for-payables/docs/models/shared/recordref.md
new file mode 100755
index 000000000..02d0111a7
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/recordref.md
@@ -0,0 +1,13 @@
+# RecordRef
+
+Links the current record to the underlying record or data type that created it.
+
+For example, if a journal entry is generated based on an invoice, this property allows you to connect the journal entry to the underlying invoice in our data model.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- |
+| `data_type` | *Optional[str]* | :heavy_minus_sign: | Allowed name of the 'dataType'. | journalEntry |
+| `id` | *Optional[str]* | :heavy_minus_sign: | 'id' of the underlying record or data type. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/security.md b/sync-for-payables/docs/models/shared/security.md
new file mode 100755
index 000000000..2b68bd0e7
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/security.md
@@ -0,0 +1,8 @@
+# Security
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ |
+| `auth_header` | *str* | :heavy_check_mark: | N/A | Basic BASE_64_ENCODED(API_KEY) |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/status.md b/sync-for-payables/docs/models/shared/status.md
new file mode 100755
index 000000000..8d413a2b2
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/status.md
@@ -0,0 +1,12 @@
+# Status
+
+Current state of the tracking category.
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/supplementaldata.md b/sync-for-payables/docs/models/shared/supplementaldata.md
new file mode 100755
index 000000000..2a938b3cf
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/supplementaldata.md
@@ -0,0 +1,12 @@
+# SupplementalData
+
+Supplemental data is additional data you can include in our standard data types.
+
+It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------- | --------------------------- | --------------------------- | --------------------------- |
+| `content` | dict[str, dict[str, *Any*]] | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/supplier.md b/sync-for-payables/docs/models/shared/supplier.md
new file mode 100755
index 000000000..a468223a3
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/supplier.md
@@ -0,0 +1,27 @@
+# Supplier
+
+> View the coverage for suppliers in the Data coverage explorer.
+
+## Overview
+
+From the **Suppliers** endpoints, you can retrieve a list of [all the suppliers for a company](https://docs.codat.io/accounting-api#/operations/list-suppliers). Suppliers' data links to accounts payable [bills](https://docs.codat.io/accounting-api#/schemas/Bill).
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `addresses` | list[[SupplierAddresses](../../models/shared/supplieraddresses.md)] | :heavy_minus_sign: | An array of Addresses. | |
+| `contact_name` | *Optional[str]* | :heavy_minus_sign: | Name of the main contact for the supplier. | |
+| `default_currency` | *Optional[str]* | :heavy_minus_sign: | Default currency the supplier's transactional data is recorded in. | |
+| `email_address` | *Optional[str]* | :heavy_minus_sign: | Email address that the supplier may be contacted on. | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the supplier, unique to the company in the accounting platform. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `phone` | *Optional[str]* | :heavy_minus_sign: | Phone number that the supplier may be contacted on. | +44 25691 154789 |
+| `registration_number` | *Optional[str]* | :heavy_minus_sign: | Company number of the supplier. In the UK, this is typically the company registration number issued by Companies House. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [SupplierStatus](../../models/shared/supplierstatus.md) | :heavy_check_mark: | Status of the supplier. | |
+| `supplemental_data` | [Optional[SupplementalData]](../../models/shared/supplementaldata.md) | :heavy_minus_sign: | Supplemental data is additional data you can include in our standard data types.
It is referenced as a configured dynamic key value pair that is unique to the accounting platform. [Learn more](https://docs.codat.io/using-the-api/additional-data) about supplemental data. | |
+| `supplier_name` | *Optional[str]* | :heavy_minus_sign: | Name of the supplier as recorded in the accounting system, typically the company name. | |
+| `tax_number` | *Optional[str]* | :heavy_minus_sign: | Supplier's company tax number. | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/supplieraddresses.md b/sync-for-payables/docs/models/shared/supplieraddresses.md
new file mode 100755
index 000000000..3c909b291
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/supplieraddresses.md
@@ -0,0 +1,14 @@
+# SupplierAddresses
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- | --------------------------------------------------------------------- |
+| `city` | *Optional[str]* | :heavy_minus_sign: | City of the customer address. |
+| `country` | *Optional[str]* | :heavy_minus_sign: | Country of the customer address. |
+| `line1` | *Optional[str]* | :heavy_minus_sign: | Line 1 of the customer address. |
+| `line2` | *Optional[str]* | :heavy_minus_sign: | Line 2 of the customer address. |
+| `postal_code` | *Optional[str]* | :heavy_minus_sign: | Postal code or zip code. |
+| `region` | *Optional[str]* | :heavy_minus_sign: | Region of the customer address. |
+| `type` | [AccountingAddressType](../../models/shared/accountingaddresstype.md) | :heavy_check_mark: | The type of the address |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/supplierref.md b/sync-for-payables/docs/models/shared/supplierref.md
new file mode 100755
index 000000000..a8824b5f9
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/supplierref.md
@@ -0,0 +1,11 @@
+# SupplierRef
+
+Reference to the supplier the record relates to.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------ | ------------------------ | ------------------------ | ------------------------ |
+| `id` | *str* | :heavy_check_mark: | The supplier's unique ID |
+| `supplier_name` | *Optional[str]* | :heavy_minus_sign: | The supplier's name |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/suppliers.md b/sync-for-payables/docs/models/shared/suppliers.md
new file mode 100755
index 000000000..88c7249aa
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/suppliers.md
@@ -0,0 +1,14 @@
+# Suppliers
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- | ------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[Supplier](../../models/shared/supplier.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/supplierstatus.md b/sync-for-payables/docs/models/shared/supplierstatus.md
new file mode 100755
index 000000000..0374ea9e0
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/supplierstatus.md
@@ -0,0 +1,12 @@
+# SupplierStatus
+
+Status of the supplier.
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/taxrate.md b/sync-for-payables/docs/models/shared/taxrate.md
new file mode 100755
index 000000000..ba75029e4
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/taxrate.md
@@ -0,0 +1,39 @@
+# TaxRate
+
+> View the coverage for tax rates in the Data coverage explorer.
+
+## Overview
+
+Accounting systems typically store a set of taxes and associated rates within the accounting package. This means that users don't have to look up or remember the rates for each type of tax. For example, applying the tax "UK sales VAT" to line items of an invoice adds the correct rate of 20%.
+
+### Tax components
+
+In some cases, a tax is made up of multiple sub taxes, often called _components_ of the tax. For example, you may have an item that is charged a tax rate called "City import tax (8%)" that has two components:
+
+- A city tax of 5%
+- An import tax of 3%
+
+> **Effective tax rates**
+> - Where there are multiple components of a tax, each component may be calculated on the original amount and added together. Alternatively, one tax may be calculated on the sub-total of the original amount plus another tax, which is referred to as _compounding_. When there is compounding, the effective tax rate is the rate that, if applied to the original amount, would result in the total amount of tax with compounding.
+>
+> **Example:**
+> A tax has two components. Both components have a rate of 10%, and one component is compound. In this case, there is a total tax rate of 20% but an effective tax rate of 21%.
+>
+> - For QuickBooks Online, Codat doesn't use compound rates. Instead, the calculated effective tax rate for each component is shown. This means that the effective and total rates are the same because the total tax rate is a sum of the component rates.
+
+
+## Fields
+
+| Field | Type | Required | Description | Example |
+| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `code` | *Optional[str]* | :heavy_minus_sign: | Code for the tax rate from the accounting platform. | |
+| `components` | list[[TaxRateComponent](../../models/shared/taxratecomponent.md)] | :heavy_minus_sign: | N/A | |
+| `effective_tax_rate` | *Optional[float]* | :heavy_minus_sign: | See Effective tax rates description. | |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Identifier for the tax rate, unique for the company in the accounting platform. | |
+| `metadata` | [Optional[Metadata]](../../models/shared/metadata.md) | :heavy_minus_sign: | N/A | |
+| `modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Codat-augmented name of the tax rate in the accounting platform. | |
+| `source_modified_date` | *Optional[str]* | :heavy_minus_sign: | N/A | 2022-10-23T00:00:00.000Z |
+| `status` | [Optional[TaxRateStatus]](../../models/shared/taxratestatus.md) | :heavy_minus_sign: | Status of the tax rate in the accounting platform.
- `Active` - An active tax rate in use by a company.
- `Archived` - A tax rate that has been archived or is inactive in the accounting platform.
- `Unknown` - Where the status of the tax rate cannot be determined from the underlying platform. | |
+| `total_tax_rate` | *Optional[float]* | :heavy_minus_sign: | Total (not compounded) sum of the components of a tax rate. | |
+| `valid_datatype_links` | list[[ValidDatatypeLinksitems](../../models/shared/validdatatypelinksitems.md)] | :heavy_minus_sign: | N/A | |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/taxratecomponent.md b/sync-for-payables/docs/models/shared/taxratecomponent.md
new file mode 100755
index 000000000..148878a7e
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/taxratecomponent.md
@@ -0,0 +1,12 @@
+# TaxRateComponent
+
+A tax rate can be made up of multiple sub taxes, often called components of the tax.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
+| `is_compound` | *bool* | :heavy_check_mark: | A flag to indicate with the tax is calculated using the principle of compounding. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the tax rate component. |
+| `rate` | *Optional[float]* | :heavy_minus_sign: | The rate of the tax rate component, usually a percentage. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/taxrateref.md b/sync-for-payables/docs/models/shared/taxrateref.md
new file mode 100755
index 000000000..22e79fc30
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/taxrateref.md
@@ -0,0 +1,21 @@
+# TaxRateRef
+
+Data types that reference a tax rate, for example invoice and bill line items, use a taxRateRef that includes the ID and name of the linked tax rate.
+
+Found on:
+
+- Bill line items
+- Bill Credit Note line items
+- Credit Note line items
+- Direct incomes line items
+- Invoice line items
+- Items
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
+| `effective_tax_rate` | *Optional[float]* | :heavy_minus_sign: | Applicable tax rate. |
+| `id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier for the tax rate in the accounting platform. |
+| `name` | *Optional[str]* | :heavy_minus_sign: | Name of the tax rate in the accounting platform. |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/taxrates.md b/sync-for-payables/docs/models/shared/taxrates.md
new file mode 100755
index 000000000..39ab1328f
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/taxrates.md
@@ -0,0 +1,14 @@
+# TaxRates
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[TaxRate](../../models/shared/taxrate.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/taxratestatus.md b/sync-for-payables/docs/models/shared/taxratestatus.md
new file mode 100755
index 000000000..00bfb202b
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/taxratestatus.md
@@ -0,0 +1,15 @@
+# TaxRateStatus
+
+Status of the tax rate in the accounting platform.
+- `Active` - An active tax rate in use by a company.
+- `Archived` - A tax rate that has been archived or is inactive in the accounting platform.
+- `Unknown` - Where the status of the tax rate cannot be determined from the underlying platform.
+
+
+## Values
+
+| Name | Value |
+| ---------- | ---------- |
+| `UNKNOWN` | Unknown |
+| `ACTIVE` | Active |
+| `ARCHIVED` | Archived |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/tracking.md b/sync-for-payables/docs/models/shared/tracking.md
new file mode 100755
index 000000000..788899368
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/tracking.md
@@ -0,0 +1,14 @@
+# Tracking
+
+Categories, and a project and customer, against which the item is tracked.
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
+| `category_refs` | list[[TrackingCategoryRef](../../models/shared/trackingcategoryref.md)] | :heavy_check_mark: | N/A |
+| `customer_ref` | [Optional[TrackingCustomerRef]](../../models/shared/trackingcustomerref.md) | :heavy_minus_sign: | N/A |
+| `is_billed_to` | [BilledToType](../../models/shared/billedtotype.md) | :heavy_check_mark: | N/A |
+| `is_rebilled_to` | [BilledToType](../../models/shared/billedtotype.md) | :heavy_check_mark: | N/A |
+| `project_ref` | [Optional[TrackingProjectRef]](../../models/shared/trackingprojectref.md) | :heavy_minus_sign: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/trackingcategories.md b/sync-for-payables/docs/models/shared/trackingcategories.md
new file mode 100755
index 000000000..091e6623c
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/trackingcategories.md
@@ -0,0 +1,14 @@
+# TrackingCategories
+
+Success
+
+
+## Fields
+
+| Field | Type | Required | Description |
+| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
+| `links` | [Links](../../models/shared/links.md) | :heavy_check_mark: | N/A |
+| `page_number` | *int* | :heavy_check_mark: | N/A |
+| `page_size` | *int* | :heavy_check_mark: | N/A |
+| `results` | list[[TrackingCategory](../../models/shared/trackingcategory.md)] | :heavy_minus_sign: | N/A |
+| `total_results` | *int* | :heavy_check_mark: | N/A |
\ No newline at end of file
diff --git a/sync-for-payables/docs/models/shared/trackingcategory.md b/sync-for-payables/docs/models/shared/trackingcategory.md
new file mode 100755
index 000000000..2762dcc7a
--- /dev/null
+++ b/sync-for-payables/docs/models/shared/trackingcategory.md
@@ -0,0 +1,143 @@
+# TrackingCategory
+
+Details of a category used for tracking transactions.
+
+> Language tip
+>
+> Parameters used to track types of spend in various parts of an organization can be called **dimensions**, **projects**, **classes**, or **locations** in different accounting platforms. In Codat, we refer to these as tracking categories.
+
+View the coverage for tracking categories in the Data coverage explorer.
+
+## Overview
+
+Tracking categories are used to monitor cost centres and control budgets that sit outside the standard chart of accounts. Customers may use tracking categories to group together and track the income and costs of specific departments, projects, locations or customers.
+
+From their accounting system, customers can:
+
+- Create and maintain tracking categories and tracking category types.
+- View all tracking categories that are available for use.
+- View the relationships between the categories.
+- Assign invoices, bills, credit notes, or bill credit notes to one or more categories.
+- View the categories that a transaction belongs to.
+- View all transactions in a tracking category.
+
+### Tracking categories per platform
+
+Review the platform-specific tracking categories that Codat supports, and the level they are assigned to in the source platform.
+
+
| Platform | +Tracking category | +Tracking level | +
|---|---|---|
| Dynamics 365 | +Dimensions | +Line item | +
| Freshbooks | +Expense categories | +Line item | +
| MYOB | +Categories | +Transaction | +
| Netsuite | +Classes | +Line item | +
| Locations | +Line item | +|
| Departments | +Line item | +|
| Custom segments | +Line item | +|
| QuickBooks Desktop | +Classes | +Line item or transaction level | +
| Locations | +Transaction | +|
| QuickBooks Online | +Classes | +Line item or transaction level | +
| Locations | +Transaction | +|
| Sage 200 | +Cost centers | +Line item | +
| Departments | +Line item | +|
| Analysis codes | +Transaction | +|
| Sage 50 | +Departments | +Line item | +
| Costcodes | +Line item | +|
| Projects | +Line item | +|
| Sage Intacct | +Dimensions | +Line item | +
| Xero | +Tracking categories | +Line item | +
| Platform | +Tracking category | +Tracking level | +
|---|---|---|
| Dynamics 365 | +Dimensions | +Line item | +
| Freshbooks | +Expense categories | +Line item | +
| MYOB | +Categories | +Transaction | +
| Netsuite | +Classes | +Line item | +
| Locations | +Line item | +|
| Departments | +Line item | +|
| Custom segments | +Line item | +|
| QuickBooks Desktop | +Classes | +Line item or transaction level | +
| Locations | +Transaction | +|
| QuickBooks Online | +Classes | +Line item or transaction level | +
| Locations | +Transaction | +|
| Sage 200 | +Cost centers | +Line item | +
| Departments | +Line item | +|
| Analysis codes | +Transaction | +|
| Sage 50 | +Departments | +Line item | +
| Costcodes | +Line item | +|
| Projects | +Line item | +|
| Sage Intacct | +Dimensions | +Line item | +
| Xero | +Tracking categories | +Line item | +