Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| ## Create a company | ||
|
|
||
| Within Bill Pay, a company represents your SMB customer that pays and manages their bills using your application. To create it, use our [Create company (async)](/sync-for-payables-api#/operations/create-company) or [Create company (sync)](/sync-for-payables-v2-api#/operations/create-company) endpoints. | ||
| Within Bill Pay, a company represents your SMB customer that pays and manages their bills using your application. To create it, use our [Create company](/sync-for-payables-v2-api#/operations/create-company) endpoints. |
There was a problem hiding this comment.
[Google.WordList] Use 'app' instead of 'application'.
| sidebar_label: Update a bill | ||
| --- | ||
|
|
||
| import Tabs from "@theme/Tabs"; |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Semicolons] Use semicolons judiciously.
| --- | ||
|
|
||
| import Tabs from "@theme/Tabs"; | ||
| import TabItem from "@theme/TabItem"; |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Semicolons] Use semicolons judiciously.
|
|
||
| :::tip Invoices or bills? | ||
|
|
||
| We distinguish between invoices where the company _owes_ money and those where the company _is owed_ money. If the company receives an invoice and owes money as a result, we call this a **bill**. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Passive] In general, use active voice instead of passive voice ('is owed').
|
|
||
| Use our [Update bill](docs.codat.io/sync-for-payables-v2-api#/operations/update-bill) endpoint to perform this operation. The following rules apply: | ||
|
|
||
| - You can only update the bills in `Open` status, and updates to bills in any other states will be rejected. |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Will] Avoid using 'will'.
|
|
||
| ### Software requirements | ||
|
|
||
| We have summarized the key differences between the integrations that support updates to bills below: |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'we've' instead of 'We have'.
docs/payables/sync/update-bill.md
Outdated
|
|
||
| | Issue | Error Message | | ||
| |----------------------|-----------------------------------------------| | ||
| | Invalid account code | 'Account Ref' was not found in FreeAgent. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
docs/payables/sync/update-bill.md
Outdated
| | Issue | Error Message | | ||
| |----------------------|-----------------------------------------------| | ||
| | Invalid account code | 'Account Ref' was not found in FreeAgent. | | ||
| | Invalid supplier ID | 'Supplier Ref Id' was not found in FreeAgent. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
docs/payables/sync/update-bill.md
Outdated
|
|
||
| | Issue | Error Message | | ||
| |----------------------|-------------------------------------------| | ||
| | Invalid account GUID | 'Account Ref' was not found in Xero. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
docs/payables/sync/update-bill.md
Outdated
| | Issue | Error Message | | ||
| |----------------------|-------------------------------------------| | ||
| | Invalid account GUID | 'Account Ref' was not found in Xero. | | ||
| | Invalid supplier ID | 'SupplierRef Id' was not found in Xero. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
|
|
||
| | Issue | Error message | | ||
| |----------------------|-----------------------------------------------| | ||
| | Invalid account code | `Account Ref` was not found in FreeAgent. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
| | Issue | Error message | | ||
| |----------------------|-----------------------------------------------| | ||
| | Invalid account code | `Account Ref` was not found in FreeAgent. | | ||
| | Invalid supplier ID | `Supplier Ref Id` was not found in FreeAgent. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
|
|
||
| | Issue | Error message | | ||
| |----------------------|-------------------------------------------| | ||
| | Invalid account GUID | `Account Ref` was not found in Xero. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
| | Issue | Error message | | ||
| |----------------------|-------------------------------------------| | ||
| | Invalid account GUID | `Account Ref` was not found in Xero. | | ||
| | Invalid supplier ID | `SupplierRef Id` was not found in Xero. | |
There was a problem hiding this comment.
📝 [vale] reported by reviewdog 🐶
[Google.Contractions] Use 'wasn't' instead of 'was not'.
Updated link format for the Update bill endpoint.
|
Link check results for preview deployment (https://codat-docs-git-feat-update-bills-codat.vercel.app): |
Description
Update bills documentation
Type of change
Please delete options that are not relevant.
Note
Low Risk
Documentation-only and UI labeling/navigation updates; no runtime business logic or data handling changes.
Overview
Announces and documents the new Bill Pay
Update billcapability, including a new blog post and a dedicated doc page (payables/sync/update-bill) with request examples, supported integrations, and validation/error guidance.Updates Bill Pay setup docs to point only at the v2 (sync) endpoints for creating companies/connections/unlinking, adds the new page to the Bill Pay sidebar, and renames the product/API reference labels from “Bill Pay (sync)” to “Bill Pay” in the data types and API reference UI.
Written by Cursor Bugbot for commit 0fbe0f1. This will update automatically on new commits. Configure here.