Retrieve the collection of LegalEntity resources.
LegalEntity collection
Bad Request
Unauthorized
Resource not Found
[- {
- "uuid": "string",
- "status": 0,
- "_statusName": "string",
- "name": "string",
- "nip": "string",
- "email": "string",
- "url": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "postcode": "string",
- "province": "string",
- "city": "string",
- "countryIso2": "string",
- "incomingInvoiceEnabled": true,
- "createdAt": "string",
- "updatedAt": "string",
- "authFlowUUID": "string",
- "authFlowStatus": 0,
- "authFlowIsValid": true,
- "authFlowUrl": "string",
- "authFlowDeadline": "string",
- "authFlowCreatedAt": "string",
- "authFlowUpdatedAt": "string",
- "isSessionCyclerRunning": true,
- "isInvoiceSyncRunning": true,
- "lastSyncAt": "string",
- "lastScannedInvoiceSyncNumber": "string",
- "lastScannedInvoiceSyncTime": "string",
- "isInvoiceReceiverRunning": true,
- "lastReceiveAt": "string",
- "lastScannedInvoiceReceiveNumber": "string",
- "lastScannedInvoiceReceiveTime": "string",
- "isInvoiceUpoRunning": true,
- "isInvoiceStatusCheckerRunning": true,
- "customer": {
- "customerName": "string",
- "addressLine": "string",
- "city": "string",
- "countryCode": "string",
- "nip": 0
}
}
]
Create a LegalEntity resource.
The new LegalEntity resource
LegalEntity resource created
Invalid input
Unprocessable entity
{- "name": "Company name",
- "nip": "0000000000",
- "email": "user@example.com",
- "url": "company.url",
- "addressLine1": "ul. Street",
- "addressLine2": "10/1",
- "postcode": "00-000",
- "province": "Province",
- "city": "City",
- "countryIso2": "PL"
}
{- "uuid": "string",
- "status": 0,
- "_statusName": "string",
- "name": "string",
- "nip": "string",
- "email": "string",
- "url": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "postcode": "string",
- "province": "string",
- "city": "string",
- "countryIso2": "string",
- "incomingInvoiceEnabled": true,
- "createdAt": "string",
- "updatedAt": "string",
- "authFlowUUID": "string",
- "authFlowStatus": 0,
- "authFlowIsValid": true,
- "authFlowUrl": "string",
- "authFlowDeadline": "string",
- "authFlowCreatedAt": "string",
- "authFlowUpdatedAt": "string",
- "isSessionCyclerRunning": true,
- "isInvoiceSyncRunning": true,
- "lastSyncAt": "string",
- "lastScannedInvoiceSyncNumber": "string",
- "lastScannedInvoiceSyncTime": "string",
- "isInvoiceReceiverRunning": true,
- "lastReceiveAt": "string",
- "lastScannedInvoiceReceiveNumber": "string",
- "lastScannedInvoiceReceiveTime": "string",
- "isInvoiceUpoRunning": true,
- "isInvoiceStatusCheckerRunning": true,
- "customer": {
- "customerName": "string",
- "addressLine": "string",
- "city": "string",
- "countryCode": "string",
- "nip": 0
}
}
Changing status legal entity to block
LegalEntity resource created
Invalid input
Unprocessable entity
null
{- "uuid": "string",
- "status": 0,
- "_statusName": "string",
- "name": "string",
- "nip": "string",
- "email": "string",
- "url": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "postcode": "string",
- "province": "string",
- "city": "string",
- "countryIso2": "string",
- "incomingInvoiceEnabled": true,
- "createdAt": "string",
- "updatedAt": "string",
- "authFlowUUID": "string",
- "authFlowStatus": 0,
- "authFlowIsValid": true,
- "authFlowUrl": "string",
- "authFlowDeadline": "string",
- "authFlowCreatedAt": "string",
- "authFlowUpdatedAt": "string",
- "isSessionCyclerRunning": true,
- "isInvoiceSyncRunning": true,
- "lastSyncAt": "string",
- "lastScannedInvoiceSyncNumber": "string",
- "lastScannedInvoiceSyncTime": "string",
- "isInvoiceReceiverRunning": true,
- "lastReceiveAt": "string",
- "lastScannedInvoiceReceiveNumber": "string",
- "lastScannedInvoiceReceiveTime": "string",
- "isInvoiceUpoRunning": true,
- "isInvoiceStatusCheckerRunning": true,
- "customer": {
- "customerName": "string",
- "addressLine": "string",
- "city": "string",
- "countryCode": "string",
- "nip": 0
}
}
Retrieve the collection of LegalEntity resources.
LegalEntity resource
Resource not found
{- "uuid": "string",
- "status": 0,
- "_statusName": "string",
- "name": "string",
- "nip": "string",
- "email": "string",
- "url": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "postcode": "string",
- "province": "string",
- "city": "string",
- "countryIso2": "string",
- "incomingInvoiceEnabled": true,
- "createdAt": "string",
- "updatedAt": "string",
- "authFlowUUID": "string",
- "authFlowStatus": 0,
- "authFlowIsValid": true,
- "authFlowUrl": "string",
- "authFlowDeadline": "string",
- "authFlowCreatedAt": "string",
- "authFlowUpdatedAt": "string",
- "isSessionCyclerRunning": true,
- "isInvoiceSyncRunning": true,
- "lastSyncAt": "string",
- "lastScannedInvoiceSyncNumber": "string",
- "lastScannedInvoiceSyncTime": "string",
- "isInvoiceReceiverRunning": true,
- "lastReceiveAt": "string",
- "lastScannedInvoiceReceiveNumber": "string",
- "lastScannedInvoiceReceiveTime": "string",
- "isInvoiceUpoRunning": true,
- "isInvoiceStatusCheckerRunning": true,
- "customer": {
- "customerName": "string",
- "addressLine": "string",
- "city": "string",
- "countryCode": "string",
- "nip": 0
}
}
Replace the LegalEntity resource.
The updated LegalEntity resource
LegalEntity resource updated
Invalid input
Resource not found
Unprocessable entity
{- "name": "Company name",
- "nip": "0000000000",
- "email": "user@example.com",
- "url": "company.url",
- "addressLine1": "ul. Street",
- "addressLine2": "10/1",
- "postcode": "00-000",
- "province": "Province",
- "city": "City",
- "countryIso2": "PL"
}
{- "uuid": "string",
- "status": 0,
- "_statusName": "string",
- "name": "string",
- "nip": "string",
- "email": "string",
- "url": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "postcode": "string",
- "province": "string",
- "city": "string",
- "countryIso2": "string",
- "incomingInvoiceEnabled": true,
- "createdAt": "string",
- "updatedAt": "string",
- "authFlowUUID": "string",
- "authFlowStatus": 0,
- "authFlowIsValid": true,
- "authFlowUrl": "string",
- "authFlowDeadline": "string",
- "authFlowCreatedAt": "string",
- "authFlowUpdatedAt": "string",
- "isSessionCyclerRunning": true,
- "isInvoiceSyncRunning": true,
- "lastSyncAt": "string",
- "lastScannedInvoiceSyncNumber": "string",
- "lastScannedInvoiceSyncTime": "string",
- "isInvoiceReceiverRunning": true,
- "lastReceiveAt": "string",
- "lastScannedInvoiceReceiveNumber": "string",
- "lastScannedInvoiceReceiveTime": "string",
- "isInvoiceUpoRunning": true,
- "isInvoiceStatusCheckerRunning": true,
- "customer": {
- "customerName": "string",
- "addressLine": "string",
- "city": "string",
- "countryCode": "string",
- "nip": 0
}
}