My Products
Help
Anonymous
Not applicable

Not able to set payment method on credit notes

by Anonymous

Hi,

 

I'm trying to set the payment method on a credit note using the CustomerCreditNoteV2 endpoint.

 

The credit note is created but the payment method is the default one and not the one in my json.

 

Tried two clients but no luck. I can set payment method in GUI and I'm also able to set payment method on customer invoices using the API (exactly the same json except invoice = invoiceLines)

 

What am I missing? 🙂

 

{
	"customerNumber": {
		"value": "10000"
	},
	"paymentMethodId": {
		"value": "4"
	},
	"lines": [
		{
			"operation": "Insert",

			"description": {
				"value": "Test"
			},
			"quantity": {
				"value": 1
			},
			"unitPriceInCurrency": {
				"value": 250
			}
		}
	]
}

 

Marius

1 REPLY 1

by Magnus Johnsen

Hi,
The paymentMethod field is not available for the POST customerCreditNote endpoint, neither in V1 or V2.

If this is functionality you need, we recommend that you create a post in the "Ideas" part for the forum.

Thank you.