Write-Offs API

Fetch a Write-Off
fetchWriteOff
GET /billing/{tenantLocator}/writeOffs/{locator}
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:write-offs   Permission:read
Fetch Multiple Write-Offs
fetchMultipleWriteOffs
GET /billing/{tenantLocator}/writeOffs/list
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    offsetqueryint?optional
    countqueryint?optional
    accountLocatorquerylocator?optional
    extendedqueryboolean?optional
    Security Group:write-offs   Permissions:read,list
WriteOffListResponse
required
listCompleted boolean
WriteOffResponse
required
locator locator
accountLocator locator
currency string
writeOffState Enum draft | distributed | reversed
amount number
creditType Enum creditDistribution | disbursement | payment | refund | shortfallWriteOff | writeOff
createdAt datetime
createdBy uuid
targets CreditItem[]

optional
reversalReason string?
Write-Off an Invoice
writeOffInvoice
PATCH /billing/{tenantLocator}/invoices/{locator}/writeOff
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:invoices   Permission:write
Reverse a Write-Off
reverseWriteOff
PATCH /billing/{tenantLocator}/writeOffs/{locator}/reverse
    Request Parameters:
    NamePositionTypeRequired
    tenantLocatorpathuuidrequired
    locatorpathlocatorrequired
    Security Group:write-offs   Permission:write