Create Ocean Invoice Item Payment

Creates a payment and associated ASC records for ocean invoice items.

Args:
amount (float): Total payment amount.
paymentinputs (OceanInvoicePaymentInputs): Payment input details.
ocean_invoice_item_uuids_and_amounts (list[OceanInvoiceAndPaymentAmount]): List of invoice item UUIDs and amounts.
db (Session, optional): Database session.
current_user (_type
, optional): Current user.
notes (str, optional): Notes for the payment.
transaction_date (datetime, optional): Transaction date.

Returns:
OceanInvoicePaymentOut: Payment output.

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here!