Function create

  • Creates a new ReceiptRecord object.

    Note: This method requires an existing PayableRecord. Use create first.

    Parameters

    • payableId: string

      The identifier for the corresponding payable record

    • amount: string

      The total amount paid.

    • Optional description: string

      A short, human-readable description of the TitleRecord as a future reminder. This parameter is used only if a TitleRecord does not already exist for the provided ptr.

    • Optional reference: string

      A customer-specific reference identifier

    Returns Promise<ReceiptRecord>