Skip to content

Put Payment ​

Register a direct payment on the invoice

PUT /v1/Invoices/{invoiceGuid}/Payments

Use the Test or Production base URL configured under Overview.

Request parameters ​

FieldLocationMandatoryDescription
invoiceGuidpathYesstring

Headers and authentication ​

Use OAuth 2.0 Client Credentials and the Authorization header with a Bearer access token, as described under Overview.

Request body fields ​

Field pathMandatoryDescription
paymentReferenceNostring or null
Payment reference string
paymentDateYesstring <date-time>
Payment date
accountingDateNostring <date-time> or null
Accounting date for G/L
paymentAmountYesnumber <double>
Total paid amount
currencyCodeNostring or null
The currency the paid payment
receivedAmountNonumber <double> or null
Received amount in G/L currency
exchangeDateNostring <date-time> or null
Date for currency exchange
sourceNostring or null
Information of the origin of the payment

Response fields ​

HTTP 201
Field pathMandatoryDescription
paymentGuidNostring or null
Payment guid
paymentReferenceNostring or null
Payment reference string
paymentDateYesstring <date-time>
Payment date
accountingDateNostring <date-time> or null
Accounting date for G/L
paymentAmountYesnumber <double>
Total paid amount
currencyCodeNostring or null
The currency the paid payment
receivedAmountNonumber <double> or null
Received amount in G/L currency
exchangeDateNostring <date-time> or null
Date for currency exchange
sourceNostring or null
Information of the origin of the payment
HTTP 400
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 401
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 403
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 404
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null
HTTP 408
Field pathDescription
typestring or null
titlestring or null
statusinteger <int32> or null
detailstring or null
instancestring or null