Attributes
Unique identifier for the vendor credit.
Unique ID of the vendor credit in your system for linking purposes. Idempotency key.
Time when the vendor credit was received.
Line items included in this vendor credit. See Vendor Credit Line Item Object for details.
Allocations of this vendor credit to bills. See Vendor Credit Allocation Object for details.
Time when the vendor credit was created in Layer.
Time when the vendor credit was last updated in Layer.
Time when the vendor credit was deleted, if applicable.
Tags associated with the vendor credit.
Arbitrary metadata you can include with the vendor credit
Any (typically user-visible) identifier you would like to associate with the vendor credit. Can be used to filter when listing vendor credits.
Vendor Credit Line Item Object
A Vendor Credit Line Item represents an individual expense account being credited by the Vendor Credit.Unique identifier for the vendor credit line item.
Ledger account associated with this line item. This is what you’re specifying with the ‘expense_account_identifier’ in the create parameters.
Amount for the line item in cents.
Description or notes for the line item.
Arbitrary metadata you can include with the vendor credit line item
Any (typically user-visible) identifier you would like to associate with the vendor credit line item.
Vendor Credit Allocation Object
A Vendor Credit Allocation represents how a portion of a vendor credit is applied to a specific bill. By allocating vendor credits to bills, the amount owed to vendors can be reduced accordingly.Unique identifier for the vendor credit allocation.
ID of the vendor credit this allocation belongs to.
ID of the bill this allocation is for.
Amount of the allocation in cents.