201Successful Response
Schema: SuccessEnvelope_VendorCreditResponse_
successbooleanmessagestringcodestringdataVendorCreditResponse
/api/v1/vendor-credits/{vendor_credit_id}/journal-entryPost the issue journal entry for a vendor credit that has none linked (Dr expense/asset, Cr Vendor Credit Balance).
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
vendor_credit_idstringrequiredSchema: VendorCreditJournalEntryGenerateRequest
ledger_idstringExpense or asset ledger to debit. Defaults to the credit's stored ledger / allocations or Uncategorized Expense.
journal_entry_datestring · dateDate for the journal entry (defaults to the credit's issue date).
Schema: SuccessEnvelope_VendorCreditResponse_
successbooleanmessagestringcodestringdataVendorCreditResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject