Freight Invoice Mark Export V1 Ep
POST/v1/freight/invoice/mark_export
Mark Freight Invoices as Exported V1 Endpoint
Marks invoices as exported for integration with external accounting systems. Only invoices with status "sent" can be marked as exported.
Required Scopes (io.w)
Request
invoice_numbers: list[str]
List of invoice numbers to mark as exported.
Response
success: int
Number of invoices successfully marked as exported.
errors: list[MarkExportError]
List of errors for invoices that could not be marked as exported.
Show Child Attributes
invoice_number: str
Invoice number that failed.
error: str
Error message describing why the invoice could not be marked as exported.
Responses
- 200
- 422
Successful Response
- application/json
- Example (from schema)
{
"success": 0,
"errors": [
{
"invoice_number": "string",
"error": "string"
}
]
}
Validation Error
- application/json
- Example (from schema)
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...