OneCore Docs

Creating a Credit Memo for a rental

To cancel a document from rent/rent (i.e. with a non-empty flag Rent No. API Rent No. (4027405, Code[10])in the header of the document) use the "Cancel"/"Cancel" function in the Car Rental BillingAPI RC Car Rental Billing (4027407).

If the user selects the function to correct or cancel a document from the car rental company directly in the list of invoices/credit notes, the system does not allow the creation of this document and informs the user with the following message:

Fakturu stornujte funkcí ve Vyúčtování autopůjčovny (Výpůjčka číslo XX), in ENG: Cancel the invoice using the function in Car Rental Billing (Rent No. xx)tag. When you create a credit memo with the Copy Document function, compatibility with the stand-alone Rent module is not ensured. For this reason, the above solution is preferred.


If the user cancels the document directly from Billing, the system creates a posted credit memo (in case of invoice cancellation) or a posted invoice (in case of credit memo cancellation). The system also switches the Canceled flag to YES, which allows you to repost the period. In this case, a new line is created for the Car Rental Bill.

The functionality is applicable to all types of car rental invoicingRent a car Type (115, Option), i.e. both fees and rent.


In connection with the correction of documents, the following fields are included in the Car Rental Billing:

  • Document No. Not Posted Document No. Not Invoiced (80, Code[20])

  • Document No. Document No. (85, Code[20])

  • Cancellation Document No. Cancel Document No. (130, Code[20])

  • Posted Invoiced (120, Boolean)

  • Cancelled Cancelled (125, Boolean)