Creates a new invoice adjustment for the given yard and carrier
TBD
Body
-
period_code string
Optional invoice periodCode. If missing: this adjustment is applied in all periods. If present: The adjustment is applied when the invoice periodCode is equal to this period code
-
description string
Optional description
-
Adjustment amount
POST
/api/billing/invoice-adjustment/yard/{yardId}/carrier/{carrierId}
curl \
-X POST https://api-dev.gatego.io/api/billing/invoice-adjustment/yard/{yardId}/carrier/{carrierId} \
-H "Content-Type: application/json" \
-d '{"period_code":"202405","description":"Discount for early payment","amount":100.75}'
Request examples
{
"period_code": "202405",
"description": "Discount for early payment",
"amount": 100.75
}
Response examples (200)
{
"id": "TBC",
"yard_id": 2,
"carrier_id": 3,
"period_code": "202405",
"description": "Discount for early payment",
"amount": 100.75,
"created_at": "2021-09-30T18:25:07Z",
"created_by": "admin",
"last_modified_at": "2021-09-30T20:45:07Z",
"last_modified_by": "admin"
}