/invoices

Beta

Creates an Invoice object with the given values. Including a PurchaseOrder id in the purchase_orders property will generate an Accounts Payable Invoice from the specified Purchase Order(s).

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

is_debug_modebooleanOptional

Whether to include debug fields (such as log file links) in the response.

run_asyncbooleanOptional

Whether or not third-party updates should be run asynchronously.

Request

This endpoint expects an object.
modelobjectRequired
# The Invoice Object ### Description The `Invoice` object represents an itemized record of goods and/or services sold to a customer or bought from a vendor. Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. ### Usage Example Fetch from the `LIST Invoices` endpoint and view a company's invoices.

Response

modelobject
# The Invoice Object ### Description The `Invoice` object represents an itemized record of goods and/or services sold to a customer or bought from a vendor. Represents a Bill when the `Invoice` type is `ACCOUNTS_PAYABLE`. References an Invoice when the `Invoice` type is `ACCOUNTS_RECEIVABLE`. ### Usage Example Fetch from the `LIST Invoices` endpoint and view a company's invoices.
warningslist of objects
errorslist of objects
logslist of objects or null
<MergeSupportedFieldsByIntegrationWidget requestType="POST" data="H4sIAAAAAAAAA9WXbW/iOBDHvwrySwTJtSxURTqdKNAt1RF2W7ra3qqyBmcIhsRO/UCB1X73U0IoaZfb7bWB23tFPNj/sT0/j8dfCQODgVRL0iTAmLTCcBGQComkjyFpkp6YS86QVAjE3IMIn3Sk82NSIdrGsVQG/XOOoa8vFI5Jk7gRqgCrVvAxR9/dDnK5MBgoMFwK7T4Oro7T0aRCQi5m6LfWA34ut+5ezSzPmtoNuTakQmLQ2kyUtMHkCu8t6hcoJ3MLMUJhIKz6YMDNqVTVWmaXLVmFjyEa9DtgoIMGWbLczOPEmFg3XXeCYeyk3h0f5y4KF5ThLETt1munxyen9Wqmknr/gwbh70fl6f1Ijk7KNGAhBVvuD9nCG/YevGnwzmu/W3irm7q3mq286ey3Mg2g3B/264PhbW3QaR0NdnSg143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