Skip to main content

Add Edit Agent

This method allows the user to add an agent to an invoice. New agent will be able to pay the shared invoice.

Query Parameters
invoiceNumberAgentDto object REQUIRED
Header Parameters
TZ

The timezone header is optional. If provided, the header value will be applied to the API response's date and time fields. If the timezone header is not included, the default UTC timezone will be used and returned to the response.

Request Body REQUIRED
agentCode string
Responses
200

OK

Schema OPTIONAL
code string OPTIONAL
name string OPTIONAL
tin string OPTIONAL
type string OPTIONAL
address object OPTIONAL
street string OPTIONAL
addressNumber string OPTIONAL
phone string OPTIONAL
zipCode string OPTIONAL
city string OPTIONAL
country string OPTIONAL
mandatedBy string OPTIONAL
mandatedByCustomerName string OPTIONAL
mandatedByCustomerCode string OPTIONAL
mandatedAt date-time OPTIONAL
errors object[] OPTIONAL
id string OPTIONAL
message string OPTIONAL