Skip to main content
POST
Record invoice financing
This endpoint records a financing transaction for a load. Financing represents funds advanced against an invoice, typically by a factoring provider.

Path Parameters

Request Body

Content-Type: application/json-patch+json

Example Request

Response Body

Money Object

Example Response

Successful requests may update the related load status to Financed and increase cumulative funded / fee totals used for load payment and factoring workflows.

Notes

  • This endpoint records financing transactions for loads.
  • The request body content type exposed by the API is application/json-patch+json.
  • ReferenceNumber is required and used for idempotency. Repeating the same ReferenceNumber for the same load returns the original financing record instead of creating a duplicate.
  • Successful financing requests may update the related load to financing-related status values such as Financed.
  • Financing can only be recorded when the load is in one of the following statuses:
    • Invoiced
    • Completed
    • Financed
  • Loads in non-payable statuses such as Dispatched are rejected with:
  • If the LoadNumber does not exist, the endpoint returns:
  • If AmountFunded is negative or zero, the endpoint returns:
  • If Fee is negative, the endpoint returns:

Authorizations

Authorization
string
header
required

OAuth 2.0 client-credentials access token. Obtain one from https://auth.alvys.com/oauth/token (grant_type=client_credentials, audience=https://api.alvys.com/public/), then paste it here. The playground sends it as Authorization: Bearer <token>.

Path Parameters

version
string
default:1.0
required

API version (e.g., 1.0)

Example:

"1.0"

Body

LoadNumber
string
required
AmountFunded
number<double>
required
Fee
number<double>
required
ReferenceNumber
string
required
DateFunded
string<date-time> | null
ReserveEscrowAmount
number<double> | null

Response

OK

LoadNumber
string
required
Status
string
required
TotalFunded
object
required
TotalFees
object
required