Fully generalised boundary conditions