Invoices
Record invoice financing
Record a factoring or invoice financing event in Alvys for one or more carrier invoices, including funder, funded amount, reserve, and remittance details.
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
Related Load Fields Updated After Successful Financing
Successful requests may update the related load status toFinanced 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. -
ReferenceNumberis required and used for idempotency. Repeating the sameReferenceNumberfor 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:
InvoicedCompletedFinanced
-
Loads in non-payable statuses such as
Dispatchedare rejected with:
- If the
LoadNumberdoes not exist, the endpoint returns:
- If
AmountFundedis negative or zero, the endpoint returns:
- If
Feeis negative, the endpoint returns:
Authorizations
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
API version (e.g., 1.0)
Example:
"1.0"