Create a credit request that is sent to a payment service, if applicable. Must be related to an order, but can be a partly credit.
Read more about the method here.
Invoice to be credited.
Success
Bad Request
Internal Server Error
{- "ClientOrderRef": 0,
- "CurrencyCode": "string",
- "ErpOrderNo": "string",
- "InvoiceDate": "string",
- "InvoiceNo": "string",
- "AddressLine1": "string",
- "AddressLine2": "string",
- "ApplicationKey": "string",
- "Attention": "string",
- "CareOf": "string",
- "City": "string",
- "Comment": "string",
- "Country": "string",
- "CountryCode": "string",
- "CreditedInvoiceNo": "string",
- "CultureCode": "string",
- "DeliveryDate": "string",
- "Gln": "string",
- "GroupCode": "string",
- "InvoiceDueDate": "string",
- "InvoiceRoundOff": 0,
- "IsLastInvoiceForOrder": true,
- "Items": [
- {
- "PartNo": "string",
- "Quantity": 0,
- "UnitPrice": 0,
- "Description": "string",
- "Discount": 0,
- "LineAmount": 0,
- "LineNo": 0,
- "PriceList": "string",
- "ProductName": "string",
- "SalePrice": 0,
- "UnitVat": 0,
- "VatRate": 0
}
], - "Name": "string",
- "Payment": {
- "PaymentCode": 0,
- "PaymentMethodCode": "string",
- "PaymentRef": "string",
- "AdditionalInfo": [
- {
- "Code": "string",
- "Code2": "string",
- "Id": 0,
- "Value": "string"
}
], - "Amount": 0,
- "CurrencyCode": "string"
}, - "PaymentMethodCode": "string",
- "PaymentMethodName": "string",
- "Region": "string",
- "SuppressPspCall": true,
- "TotalAmount": 0,
- "Vat": 0,
- "VatRoundOff": 0,
- "ZipCode": "string"
}