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
.id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)number
Stringtransaction_date
DateTime (ISO 8601)vendor
UUIDtotal_amount
Numbercurrency
EnumXUA
, AFN
, AFA
, ALL
, ALK
, DZD
, ADP
, AOA
, AOK
, AON
, AOR
, ARA
, ARS
, ARM
, ARP
, ARL
, AMD
, AWG
, AUD
, ATS
, AZN
, AZM
, BSD
, BHD
, BDT
, BBD
, BYN
, BYB
, BYR
, BEF
, BEC
, BEL
, BZD
, BMD
, BTN
, BOB
, BOL
, BOV
, BOP
, BAM
, BAD
, BAN
, BWP
, BRC
, BRZ
, BRE
, BRR
, BRN
, BRB
, BRL
, GBP
, BND
, BGL
, BGN
, BGO
, BGM
, BUK
, BIF
, XPF
, KHR
, CAD
, CVE
, KYD
, XAF
, CLE
, CLP
, CLF
, CNX
, CNY
, CNH
, COP
, COU
, KMF
, CDF
, CRC
, HRD
, HRK
, CUC
, CUP
, CYP
, CZK
, CSK
, DKK
, DJF
, DOP
, NLG
, XCD
, DDM
, ECS
, ECV
, EGP
, GQE
, ERN
, EEK
, ETB
, EUR
, XBA
, XEU
, XBB
, XBC
, XBD
, FKP
, FJD
, FIM
, FRF
, XFO
, XFU
, GMD
, GEK
, GEL
, DEM
, GHS
, GHC
, GIP
, XAU
, GRD
, GTQ
, GWP
, GNF
, GNS
, GYD
, HTG
, HNL
, HKD
, HUF
, IMP
, ISK
, ISJ
, INR
, IDR
, IRR
, IQD
, IEP
, ILS
, ILP
, ILR
, ITL
, JMD
, JPY
, JOD
, KZT
, KES
, KWD
, KGS
, LAK
, LVL
, LVR
, LBP
, LSL
, LRD
, LYD
, LTL
, LTT
, LUL
, LUC
, LUF
, MOP
, MKD
, MKN
, MGA
, MGF
, MWK
, MYR
, MVR
, MVP
, MLF
, MTL
, MTP
, MRU
, MRO
, MUR
, MXV
, MXN
, MXP
, MDC
, MDL
, MCF
, MNT
, MAD
, MAF
, MZE
, MZN
, MZM
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NIC
, NGN
, KPW
, NOK
, OMR
, PKR
, XPD
, PAB
, PGK
, PYG
, PEI
, PEN
, PES
, PHP
, XPT
, PLN
, PLZ
, PTE
, GWE
, QAR
, XRE
, RHD
, RON
, ROL
, RUB
, RUR
, RWF
, SVC
, WST
, SAR
, RSD
, CSD
, SCR
, SLL
, XAG
, SGD
, SKK
, SIT
, SBD
, SOS
, ZAR
, ZAL
, KRH
, KRW
, KRO
, SSP
, SUR
, ESP
, ESA
, ESB
, XDR
, LKR
, SHP
, XSU
, SDD
, SDG
, SDP
, SRD
, SRG
, SZL
, SEK
, CHF
, SYP
, STN
, STD
, TVD
, TJR
, TJS
, TZS
, XTS
, THB
, XXX
, TPE
, TOP
, TTD
, TND
, TRY
, TRL
, TMT
, TMM
, USD
, USN
, USS
, UGX
, UGS
, UAH
, UAK
, AED
, UYW
, UYU
, UYP
, UYI
, UZS
, VUV
, VES
, VEB
, VEF
, VND
, VNN
, CHE
, CHW
, XOF
, YDD
, YER
, YUN
, YUD
, YUM
, YUR
, ZWN
, ZRN
, ZRZ
, ZMW
, ZMK
, ZWD
, ZWR
, ZWL
. In cases where there is no clear mapping, the original value passed through will be returned. To receive all enum values in the original format, use the show_enum_origins query parameter. Learn more.exchange_rate
Stringinclusive_of_tax
BooleanTrue
if inclusive, False
if exclusive.company
UUIDlines
VendorCreditLine[]VendorCreditLine
object is used to represent a vendor credit's line items.id
UUIDremote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)net_amount
Numbertracking_categories
Arraydescription
Stringaccount
UUIDcompany
UUIDtax_rate
UUIDexchange_rate
Stringremote_was_deleted
Booleantracking_categories
Arrayapplied_to_lines
VendorCreditApplyLineForVendorCredit[]VendorCreditApplyLine
object is used to represent a applied vendor credit.remote_id
Stringcreated_at
DateTime (ISO 8601)modified_at
DateTime (ISO 8601)invoice
UUIDapplied_date
DateTime (ISO 8601)applied_amount
Stringremote_was_deleted
Booleanremote_was_deleted
Booleanaccounting_period
UUIDfield_mappings
Objectremote_data
RemoteData[]https://api.merge.dev/api/accounting/v1/vendor-credits
Returns a list of VendorCredit
objects.
company_id
Stringcreated_after
DateTime (ISO 8601)created_before
DateTime (ISO 8601)cursor
Stringexpand
Stringinclude_deleted_data
Booleaninclude_remote_data
Booleaninclude_shell_data
Booleanmodified_after
DateTime (ISO 8601)modified_before
DateTime (ISO 8601)page_size
Integerremote_id
Stringtransaction_date_after
DateTime (ISO 8601)transaction_date_before
DateTime (ISO 8601)Supported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arrayaccount
stringtax_rate
stringaccounting_period
UUIDcompany
UUIDcurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringcurrency
Enumexchange_rate
Stringnumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringcompany
UUIDcurrency
Enumexchange_rate
Stringnumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringtax_rate
stringapplied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUIDhttps://api.merge.dev/api/accounting/v1/vendor-credits
Creates a VendorCredit
object with the given values. To run asynchronously, see our guide.
is_debug_mode
Booleanrun_async
Booleanmodel
Objectnumber
Stringtransaction_date
DateTime (ISO 8601)vendor
UUIDid
field in the Contact object.total_amount
Numbercurrency
EnumXUA
, AFN
, AFA
, ALL
, ALK
, DZD
, ADP
, AOA
, AOK
, AON
, AOR
, ARA
, ARS
, ARM
, ARP
, ARL
, AMD
, AWG
, AUD
, ATS
, AZN
, AZM
, BSD
, BHD
, BDT
, BBD
, BYN
, BYB
, BYR
, BEF
, BEC
, BEL
, BZD
, BMD
, BTN
, BOB
, BOL
, BOV
, BOP
, BAM
, BAD
, BAN
, BWP
, BRC
, BRZ
, BRE
, BRR
, BRN
, BRB
, BRL
, GBP
, BND
, BGL
, BGN
, BGO
, BGM
, BUK
, BIF
, XPF
, KHR
, CAD
, CVE
, KYD
, XAF
, CLE
, CLP
, CLF
, CNX
, CNY
, CNH
, COP
, COU
, KMF
, CDF
, CRC
, HRD
, HRK
, CUC
, CUP
, CYP
, CZK
, CSK
, DKK
, DJF
, DOP
, NLG
, XCD
, DDM
, ECS
, ECV
, EGP
, GQE
, ERN
, EEK
, ETB
, EUR
, XBA
, XEU
, XBB
, XBC
, XBD
, FKP
, FJD
, FIM
, FRF
, XFO
, XFU
, GMD
, GEK
, GEL
, DEM
, GHS
, GHC
, GIP
, XAU
, GRD
, GTQ
, GWP
, GNF
, GNS
, GYD
, HTG
, HNL
, HKD
, HUF
, IMP
, ISK
, ISJ
, INR
, IDR
, IRR
, IQD
, IEP
, ILS
, ILP
, ILR
, ITL
, JMD
, JPY
, JOD
, KZT
, KES
, KWD
, KGS
, LAK
, LVL
, LVR
, LBP
, LSL
, LRD
, LYD
, LTL
, LTT
, LUL
, LUC
, LUF
, MOP
, MKD
, MKN
, MGA
, MGF
, MWK
, MYR
, MVR
, MVP
, MLF
, MTL
, MTP
, MRU
, MRO
, MUR
, MXV
, MXN
, MXP
, MDC
, MDL
, MCF
, MNT
, MAD
, MAF
, MZE
, MZN
, MZM
, MMK
, NAD
, NPR
, ANG
, TWD
, NZD
, NIO
, NIC
, NGN
, KPW
, NOK
, OMR
, PKR
, XPD
, PAB
, PGK
, PYG
, PEI
, PEN
, PES
, PHP
, XPT
, PLN
, PLZ
, PTE
, GWE
, QAR
, XRE
, RHD
, RON
, ROL
, RUB
, RUR
, RWF
, SVC
, WST
, SAR
, RSD
, CSD
, SCR
, SLL
, XAG
, SGD
, SKK
, SIT
, SBD
, SOS
, ZAR
, ZAL
, KRH
, KRW
, KRO
, SSP
, SUR
, ESP
, ESA
, ESB
, XDR
, LKR
, SHP
, XSU
, SDD
, SDG
, SDP
, SRD
, SRG
, SZL
, SEK
, CHF
, SYP
, STN
, STD
, TVD
, TJR
, TJS
, TZS
, XTS
, THB
, XXX
, TPE
, TOP
, TTD
, TND
, TRY
, TRL
, TMT
, TMM
, USD
, USN
, USS
, UGX
, UGS
, UAH
, UAK
, AED
, UYW
, UYU
, UYP
, UYI
, UZS
, VUV
, VES
, VEB
, VEF
, VND
, VNN
, CHE
, CHW
, XOF
, YDD
, YER
, YUN
, YUD
, YUM
, YUR
, ZWN
, ZRN
, ZRZ
, ZMW
, ZMK
, ZWD
, ZWR
, ZWL
.exchange_rate
Stringinclusive_of_tax
BooleanTrue
if inclusive, False
if exclusive.company
UUIDid
field in the CompanyInfo object.tracking_categories
Arrayapplied_to_lines
Arrayaccounting_period
UUIDid
field in the AccountingPeriod object.integration_params
Objectlinked_account_params
ObjectSupported POST Model Parameters
applied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringlines
VendorCreditLine[]id
stringremote_id
stringcreated_at
stringmodified_at
stringnet_amount
numbertracking_category
stringtracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringremote_was_deleted
booleannumber
Stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported POST Model Parameters
applied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleanlines
VendorCreditLine[]id
stringremote_id
stringcreated_at
stringmodified_at
stringnet_amount
numbertracking_category
stringtracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringremote_was_deleted
booleannumber
Stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUIDhttps://api.merge.dev/api/accounting/v1/vendor-credits/{id}
Returns a VendorCredit
object with the given id
.
expand
Stringid
UUIDinclude_remote_data
BooleanSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arrayaccount
stringtax_rate
stringaccounting_period
UUIDcompany
UUIDcurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringcurrency
Enumexchange_rate
Stringnumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringcompany
UUIDcurrency
Enumexchange_rate
Stringnumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUIDSupported Response Fields
lines
VendorCreditLine[]remote_id
stringnet_amount
numbertracking_categories
arraydescription
stringaccount
stringtax_rate
stringapplied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleannumber
Stringremote_data
RemoteData[]path
stringdata
stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUIDhttps://api.merge.dev/api/accounting/v1/vendor-credits/meta/post
Returns metadata for VendorCredit
POSTs.
Supported POST Model Parameters
applied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringlines
VendorCreditLine[]id
stringremote_id
stringcreated_at
stringmodified_at
stringnet_amount
numbertracking_category
stringtracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringremote_was_deleted
booleannumber
Stringremote_id
Stringtotal_amount
Numbertracking_categories
Arraytransaction_date
DateTime (ISO 8601)vendor
UUIDSupported POST Model Parameters
applied_to_lines
VendorCreditApplyLineForVendorCredit[]remote_id
stringcreated_at
stringmodified_at
stringinvoice
stringapplied_date
stringapplied_amount
stringremote_was_deleted
booleancurrency
Enumexchange_rate
Stringinclusive_of_tax
Booleanlines
VendorCreditLine[]id
stringremote_id
stringcreated_at
stringmodified_at
stringnet_amount
numbertracking_category
stringtracking_categories
arraydescription
stringaccount
stringcompany
stringtax_rate
stringexchange_rate
stringremote_was_deleted
booleannumber
Stringremote_id
Stringtotal_amount
Numbertransaction_date
DateTime (ISO 8601)vendor
UUID