/vendor-credits/{id}/application

Creates a new VendorCreditApplyLine to apply a vendor credit to an invoice

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

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.
invoicestring or nullRequiredformat: "uuid"
The invoice to apply the vendor credit to.
applied_datedatetimeRequired
Date that the vendor credit is applied to the invoice.
applied_amountstringRequiredformat: "decimal"
The amount of vendor credit applied to the invoice.

Response

modelobject
# The VendorCredit Object ### Description A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to `Accounts Payable` Invoices to decrease the overall amount of the `Invoice`. ### Usage Example Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits.
warningslist of objects
errorslist of objects
logslist of objects or null
<MergeSupportedFieldsByIntegrationWidget requestType="POST" data="H4sIAAAAAAAAA82VYW8aORCG/0rkj4jdPUJpFKSqIsA1RIe5JiRKWlXWYA+Lg9fe2F5CqPLfKy8QSJtyiS453Tev8bzjeZ8Z851w8Jgae0eaBDg3hfZSp6RKMiNQkSa5QC2MbVsU0pMqgVxSyPDRaTbbJ1Xiijw31qP4U6IS7tjimDRJkqFNMSq0HEsUySYokdpjasFLo13yEByNy2hSJUrqKYrWMuCf5ZbHo9XOT58uUdKF6+fgnJ9YU6STU7wp0D1DOdxNYYbag4oEeEi2VCK7lHlqL1QhUKFH0QEPHfTIQ7mrjBPvc9dMkgmqPC6zxwJnCeoErJdcoUsa9cP9g8NGtFIps39kqfpQq1zfjMzooMJSrhgUlf6Qz+mwd0uv03e0/W5OF+cNupgu6PX0jwpLodIf9huD4VV90GnVBk8cYGfvLw8vjjpHJ7TCF906vb66pUNe6w/5dLTo1U8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