Captures

Extend Invoice duration

Changed on

Purpose:

Extends the payment terms relating to a past capture on behalf of your buyer. Please provide the new full length of the payment term.

Preconditions:

  • uuid of the capture
  • The correctly calculated new due date

Success:

  • Response Code: HTTP 204

Attention:

  • The new due date is the full amount of days from time of shipping to when the payment will be due.
  • If the due date is extended from 30 days by another 30 days, the new due date will be 60
post/invoices/{captureId}/extend-duration

Request

Path parameters

captureIdstring uuid required
Example:12345667-890a-bcde-f123-34567890abcd

The unique identifier of the capture

Request body

durationinteger required

Example request

{
  "duration": 30
}

Response

Invoice extended successfully

Changes