loans--invoices
Operations addressed under /loans — 79 operations.
Rendered section: This page contains the invoices route group from loans. This is a presentation-only partition; it does not change the API contract or operation tags in the downloadable OpenAPI.
get-loan-invoice-by-loan-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as IEnumerable<LoanInvoiceDto>.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
LoanId | Guid | no |
InvoiceAmount | decimal? | yes |
InvoiceDate | DateOnly? | yes |
SerialNumber | string | no |
UsingInvoiceAmount | decimal? | yes |
ShipmentDate | DateOnly? | yes |
InvoiceIssuer | string | no |
IsOfficialInvoice | bool | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
path Parameters
idget-loan-invoice-by-loan-id › Responses
Success. Returns a collection of records. Of 135 operations in this state that were probed (measured against a reference deployment on parameterless GET routes only), 118 answered and 118 returned a bare JSON array.
Array of catalog-declared response records.
idinvoiceAmountinvoiceDateinvoiceIssuerisOfficialInvoiceloanIdserialNumbershipmentDateusingInvoiceAmountcreate-loan-invoice
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route returns AuraCommandDto<Guid>, which is the response body itself and not a wrapper around one: the framework declares it as a class with a single property, Id, of type Guid. A caller gets a JSON OBJECT with one field, not a bare value. The field is id on the wire.
| Field | Name on the wire | Declared type | Nullable |
|---|---|---|---|
Id | id | Guid | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning |
|---|---|---|
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL |
path Parameters
idcreate-loan-invoice › Request Body
invoiceAmountinvoiceDateinvoiceIssuerserialNumbershipmentDateusingInvoiceAmountisOfficialInvoicecreate-loan-invoice › Responses
Success. An exact, uniquely bound route registration declares the command-id envelope, so this schema is the code-backed body contract.
idIdentifier returned by the command.
get-loan-invoice-by-id
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as LoanInvoiceDto.
| Field | Declared type | Nullable |
|---|---|---|
Id | Guid | no |
LoanId | Guid | no |
InvoiceAmount | decimal? | yes |
InvoiceDate | DateOnly? | yes |
SerialNumber | string | no |
UsingInvoiceAmount | decimal? | yes |
ShipmentDate | DateOnly? | yes |
InvoiceIssuer | string | no |
IsOfficialInvoice | bool | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_LOAN_107 | 400 | LOAN_INVOICE_NOT_FOUND | Loan Date Must Be Today For Cancel |
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL | not published in this snapshot |
path Parameters
idinvoiceIdget-loan-invoice-by-id › Responses
Success. An exact, uniquely bound route registration classifies this response as a single-record.
update-loan-invoice
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_LOAN_107 | 400 | LOAN_INVOICE_NOT_FOUND | Loan Date Must Be Today For Cancel |
ERR_LOAN_17 | 400 | LOAN_MUST_NOT_BE_NULL | not published in this snapshot |
path Parameters
idinvoiceIdupdate-loan-invoice › Request Body
invoiceAmountinvoiceDateinvoiceIssuerserialNumbershipmentDateusingInvoiceAmountisOfficialInvoiceupdate-loan-invoice › Responses
Success. The catalog declares no response fields for this operation. The body is UNKNOWN CONTENT. The response type this route registers was read from the service's own source and is published on this operation as x-aura-code-response.