My Products
Help
jnemo
CONTRIBUTOR ***

"InvoiceAddress"/Billing address missing for CustomerCreditWriteOff via API

by jnemo

 

jnemo_0-1715598730554.png

Endpoint `controller/api/v1/customerCreditNoteWriteOff` indicates this is available, but is not returned. In Financials UI this Address exists for all types under "Invoices and Memos", but the API does not return it for specifically Credit WOs.

 

jnemo_2-1715599755377.png

 

1 REPLY 1
Marten Voort
VISMA

by Marten Voort

Hi! A credit write-off is an internal document used to write-off a credit note. It can only exist when applied to a credit note and cannot be printed as a document. Therefore from an API request you will not receive an address in the response. In UI it is only there because it is opened from the invoice screen with standard layout.

 

In the endpoint documentation the expandInvoiceAddress is there because this is part of the standard customerdocument, just like there is dunningLetterDateTime for example. These fields serve no purpose for this type of document.

 

Can you elaborate why you would need an address from this documenttype?